Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 289.7 MB / 302.2 MB, free: 2.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 181.8 kB / 371.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009345/0.0009344, allocations: 92.89 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.485e-05, allocations: 4 kB / 0.8664 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2425, allocations: 116.3 MB / 0.98 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.692/0.9345, allocations: 140.6 MB / 1.117 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.9348, allocations: 79.84 kB / 1.117 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02528/0.9601, allocations: 11.45 MB / 1.128 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9601, allocations: 0 / 1.128 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.007e-05/0.9601, allocations: 12 kB / 1.128 GB, free: 37.65 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001154/0.9613, allocations: 0.8452 MB / 1.129 GB, free: 36.89 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.9613, allocations: 8.031 kB / 1.129 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.053e-05/0.9614, allocations: 95.31 kB / 1.129 GB, free: 36.83 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.9616, allocations: 80.78 kB / 1.129 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.962, allocations: 454.2 kB / 1.13 GB, free: 36.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-05/0.9621, allocations: 123.5 kB / 1.13 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.891e-05/0.9622, allocations: 58.94 kB / 1.13 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007759/0.963, allocations: 0.5404 MB / 1.131 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.963, allocations: 0 / 1.131 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/0.9631, allocations: 29.78 kB / 1.131 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.9631, allocations: 12 kB / 1.131 GB, free: 35.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005729/0.9637, allocations: 383.4 kB / 1.131 GB, free: 35.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.9658, allocations: 1.958 MB / 1.133 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007375/0.9666, allocations: 396.5 kB / 1.133 GB, free: 34.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.9668, allocations: 178.5 kB / 1.133 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.984e-05/0.9669, allocations: 7.516 kB / 1.134 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003207/0.9672, allocations: 225.6 kB / 1.134 GB, free: 34.03 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=43): time 1.954e-06/0.9672, allocations: 0 / 1.134 GB, free: 34.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43): time 0.0005789/0.9678, allocations: 387.6 kB / 1.134 GB, free: 33.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.9679, allocations: 132.5 kB / 1.134 GB, free: 33.61 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004821/0.9684, allocations: 0.5018 MB / 1.135 GB, free: 33.26 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.9684, allocations: 36.77 kB / 1.135 GB, free: 33.22 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.9685, allocations: 297.4 kB / 1.135 GB, free: 33.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.406e-05/0.9686, allocations: 141.1 kB / 1.135 GB, free: 32.96 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.9687, allocations: 8.125 kB / 1.135 GB, free: 32.96 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.102e-05/0.9687, allocations: 376.4 kB / 1.136 GB, free: 32.63 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.969, allocations: 135.3 kB / 1.136 GB, free: 32.55 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.9692, allocations: 231.6 kB / 1.136 GB, free: 32.38 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.9694, allocations: 145.8 kB / 1.136 GB, free: 32.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9695, allocations: 3.938 kB / 1.136 GB, free: 32.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005651/0.97, allocations: 442.9 kB / 1.136 GB, free: 32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.39e-05/0.9701, allocations: 370 kB / 1.137 GB, free: 31.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.9701, allocations: 0 / 1.137 GB, free: 31.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.9701, allocations: 4 kB / 1.137 GB, free: 31.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.9706, allocations: 105.8 kB / 1.137 GB, free: 31.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/0.9706, allocations: 3.938 kB / 1.137 GB, free: 31.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.971, allocations: 104.4 kB / 1.137 GB, free: 31.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.971, allocations: 19.52 kB / 1.137 GB, free: 31.44 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/0.971, allocations: 10.5 kB / 1.137 GB, free: 31.43 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004545/0.9715, allocations: 338.8 kB / 1.137 GB, free: 31.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.9715, allocations: 0 / 1.137 GB, free: 31.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.221e-06/0.9715, allocations: 4 kB / 1.137 GB, free: 31.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.9718, allocations: 85.97 kB / 1.137 GB, free: 31.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.9718, allocations: 8 kB / 1.137 GB, free: 31.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.9721, allocations: 74.89 kB / 1.138 GB, free: 31.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.9721, allocations: 12.64 kB / 1.138 GB, free: 31.09 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.exhDamPos.movMea.mode,exhDamPos.movMea.mode,$whenCondition2,$PRE.exhDamPos1.movMea.mode,exhDamPos1.movMea.mode,$whenCondition3,$PRE.exhDamPos2.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * 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 9.301e-05/0.9722, allocations: 132.5 kB / 1.138 GB, free: 30.97 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.9723, allocations: 67.11 kB / 1.138 GB, free: 30.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.9724, allocations: 60.77 kB / 1.138 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.9724, allocations: 4 kB / 1.138 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.9725, allocations: 4 kB / 1.138 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.9725, allocations: 3.562 kB / 1.138 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.9729, allocations: 0.6237 MB / 1.138 GB, free: 30.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.973, allocations: 6.375 kB / 1.138 GB, free: 30.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.9734, allocations: 92.95 kB / 1.138 GB, free: 30.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.9734, allocations: 3.828 kB / 1.138 GB, free: 30.44 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.9734, allocations: 18.66 kB / 1.139 GB, free: 30.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.9734, allocations: 4 kB / 1.139 GB, free: 30.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9734, allocations: 0 / 1.139 GB, free: 30.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/0.9742, allocations: 0.6001 MB / 1.139 GB, free: 30.03 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.48e-05/0.9743, allocations: 149.1 kB / 1.139 GB, free: 29.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.9743, allocations: 14.31 kB / 1.139 GB, free: 29.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.9746, allocations: 55.88 kB / 1.139 GB, free: 29.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.9747, allocations: 30.62 kB / 1.139 GB, free: 29.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.9747, allocations: 11.25 kB / 1.139 GB, free: 29.81 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003624/0.9751, allocations: 399.2 kB / 1.14 GB, free: 29.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2e-07/0.9751, allocations: 0 / 1.14 GB, free: 29.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004756/0.9756, allocations: 191.3 kB / 1.14 GB, free: 29.39 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (exhDamPos.movMea.mu,exhDamPos1.movMea.mu,exhDamPos2.movMea.mu) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,exhDamPos.movMea.mode,exhDamPos1.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009634/0.9766, allocations: 1.18 MB / 1.141 GB, free: 28.42 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007783/0.9774, allocations: 0.5482 MB / 1.142 GB, free: 28.07 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.9774, allocations: 0 / 1.142 GB, free: 28.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.9776, allocations: 172.7 kB / 1.142 GB, free: 27.96 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006206/0.9782, allocations: 128.1 kB / 1.142 GB, free: 27.89 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.9797, allocations: 0.8206 MB / 1.143 GB, free: 27.24 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.9799, allocations: 0.8929 MB / 1.144 GB, free: 26.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004091/0.9803, allocations: 95.45 kB / 1.144 GB, free: 26.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.9806, allocations: 218.3 kB / 1.144 GB, free: 26.31 MB / 0.7448 GB Notification: Performance of SimCode: time 6.12e-07/0.9806, allocations: 0 / 1.144 GB, free: 26.31 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/1.007, allocations: 12.31 MB / 1.156 GB, free: 19.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001367/1.007, allocations: 204.8 kB / 1.156 GB, free: 18.88 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/3.34, allocations: 2.344 kB / 1.156 GB, free: 18.88 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1)