Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.44/1.44, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 178.1 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 0.5783 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008116/0.0008113, allocations: 97.16 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003497, allocations: 12.03 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.228, allocations: 106.3 MB / 0.9009 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001395/0.2295, allocations: 1.086 MB / 0.9019 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002688/0.2298, allocations: 121.7 kB / 0.902 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.281e-05/0.2298, allocations: 4 kB / 0.902 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.2298, allocations: 0 / 0.902 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.235e-05/0.2299, allocations: 11.92 kB / 0.902 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.23, allocations: 7.984 kB / 0.9021 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.418e-05/0.2301, allocations: 19.94 kB / 0.9021 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.044e-05/0.2302, allocations: 7.984 kB / 0.9021 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.048e-05/0.2303, allocations: 0 / 0.9021 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.279e-05/0.2303, allocations: 15.92 kB / 0.9021 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.2303, allocations: 0 / 0.9021 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.2303, allocations: 4 kB / 0.9021 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.576e-06/0.2304, allocations: 4 kB / 0.9021 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.2304, allocations: 25.7 kB / 0.9021 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.911e-05/0.2304, allocations: 15.97 kB / 0.9021 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2304, allocations: 0 / 0.9021 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2305, allocations: 0 / 0.9021 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.2305, allocations: 0 / 0.9021 GB, free: 62.92 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003647/0.2308, allocations: 335.3 kB / 0.9025 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2309, allocations: 19.97 kB / 0.9025 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.2309, allocations: 0 / 0.9025 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.688e-05/0.231, allocations: 171 kB / 0.9026 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.231, allocations: 3.984 kB / 0.9026 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.231, allocations: 4 kB / 0.9027 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.2312, allocations: 49.69 kB / 0.9027 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2312, allocations: 0 / 0.9027 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.2312, allocations: 0 / 0.9027 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2313, allocations: 7.984 kB / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.2314, allocations: 39.97 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.2317, allocations: 257 kB / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.2319, allocations: 50.59 kB / 0.903 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.819e-05/0.232, allocations: 24.84 kB / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.232, allocations: 0 / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.232, allocations: 42.55 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.232, allocations: 0 / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003713/0.2324, allocations: 101.7 kB / 0.9032 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.2324, allocations: 51.41 kB / 0.9032 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.646e-05/0.2325, allocations: 101.8 kB / 0.9033 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.2325, allocations: 25.7 kB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/0.2325, allocations: 88.08 kB / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.2326, allocations: 3.906 kB / 0.9035 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.2326, allocations: 0 / 0.9035 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.597e-05/0.2326, allocations: 318.8 kB / 0.9038 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.251e-05/0.2327, allocations: 32 kB / 0.9038 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.2328, allocations: 19.98 kB / 0.9038 GB, free: 61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.106e-05/0.2329, allocations: 24.05 kB / 0.9038 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2329, allocations: 0 / 0.9038 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001761/0.2331, allocations: 77.66 kB / 0.9039 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2331, allocations: 4 kB / 0.9039 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2331, allocations: 3.938 kB / 0.9039 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.2331, allocations: 8.031 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.694e-05/0.2332, allocations: 11.98 kB / 0.9039 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.2332, allocations: 0 / 0.9039 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.2333, allocations: 4 kB / 0.9039 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.2333, allocations: 4 kB / 0.9039 GB, free: 60.86 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.044e-05/0.2334, allocations: 113.7 kB / 0.904 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.2334, allocations: 3.984 kB / 0.9041 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.2336, allocations: 88.69 kB / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2336, allocations: 0 / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2337, allocations: 0 / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2337, allocations: 0 / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.2338, allocations: 161.6 kB / 0.9043 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2338, allocations: 4.031 kB / 0.9043 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.2338, allocations: 15.92 kB / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2339, allocations: 0 / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.2339, allocations: 4 kB / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2339, allocations: 0 / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2339, allocations: 0 / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.2341, allocations: 179.5 kB / 0.9045 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.2341, allocations: 77.11 kB / 0.9046 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.2342, allocations: 3.984 kB / 0.9046 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.2342, allocations: 7.938 kB / 0.9046 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.2343, allocations: 8.031 kB / 0.9046 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.2343, allocations: 3.984 kB / 0.9046 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.398e-05/0.2343, allocations: 79.28 kB / 0.9047 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2343, allocations: 0 / 0.9047 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001889/0.2345, allocations: 8 kB / 0.9047 GB, free: 60.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001285/0.2347, allocations: 95.25 kB / 0.9048 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.2349, allocations: 55.89 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2349, allocations: 0 / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.12e-05/0.235, allocations: 19.98 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.2352, allocations: 11.95 kB / 0.9048 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.2355, allocations: 138.5 kB / 0.905 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.2356, allocations: 0.6808 MB / 0.9056 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.2357, allocations: 11.44 kB / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2357, allocations: 0 / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.001683/0.2373, allocations: 0.5298 MB / 0.9062 GB, free: 58.42 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)