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.836/1.836, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001616/0.001616, allocations: 180.8 kB / 366.7 MB, free: 1.652 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.731/1.731, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008538/0.0008537, allocations: 94.55 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.476e-05/2.489e-05, allocations: 4 kB / 0.8599 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5697/0.5698, allocations: 116.3 MB / 0.9734 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1684/0.7383, allocations: 139.9 MB / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.7385, allocations: 81.33 kB / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02779/0.7663, allocations: 11.37 MB / 1.121 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7664, allocations: 0 / 1.121 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.056e-05/0.7664, allocations: 16 kB / 1.121 GB, free: 14.83 MB / 0.7292 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.001484/0.7679, allocations: 0.8374 MB / 1.122 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.7679, allocations: 8.031 kB / 1.122 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.7681, allocations: 79.06 kB / 1.122 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006104/0.7688, allocations: 450.9 kB / 1.123 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.7689, allocations: 110.4 kB / 1.123 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.252e-05/0.769, allocations: 36 kB / 1.123 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006934/0.7697, allocations: 361.5 kB / 1.123 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008684/0.7705, allocations: 479.2 kB / 1.124 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.7706, allocations: 3.984 kB / 1.124 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.7706, allocations: 0 / 1.124 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.7707, allocations: 16 kB / 1.124 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/0.7735, allocations: 1.794 MB / 1.125 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008612/0.7744, allocations: 383.4 kB / 1.126 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.7747, allocations: 167.5 kB / 1.126 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.7748, allocations: 11.98 kB / 1.126 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/0.7751, allocations: 215.9 kB / 1.126 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=43): time 2.144e-06/0.7751, allocations: 4.281 kB / 1.126 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.0006174/0.7758, allocations: 352.8 kB / 1.126 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.7759, allocations: 140.5 kB / 1.126 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.7763, allocations: 349.3 kB / 1.127 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.7763, allocations: 25.7 kB / 1.127 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.7765, allocations: 309.1 kB / 1.127 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.7766, allocations: 134 kB / 1.127 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.7767, allocations: 0 / 1.127 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7768, allocations: 369.1 kB / 1.128 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.7771, allocations: 125.1 kB / 1.128 GB, free: 7.898 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.7774, allocations: 221 kB / 1.128 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.7776, allocations: 150 kB / 1.128 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7776, allocations: 0 / 1.128 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006019/0.7782, allocations: 396.5 kB / 1.128 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.7784, allocations: 369.8 kB / 1.129 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.7784, allocations: 3.984 kB / 1.129 GB, free: 6.727 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.7784, allocations: 4 kB / 1.129 GB, free: 6.723 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.7789, allocations: 107.8 kB / 1.129 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.7789, allocations: 4 kB / 1.129 GB, free: 6.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.7793, allocations: 71.64 kB / 1.129 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.7793, allocations: 16 kB / 1.129 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.7793, allocations: 4 kB / 1.129 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004899/0.7798, allocations: 304.5 kB / 1.129 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.7799, allocations: 0 / 1.129 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/0.7799, allocations: 7.953 kB / 1.129 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.7802, allocations: 79.91 kB / 1.129 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.7802, allocations: 7.938 kB / 1.129 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.7805, allocations: 59.64 kB / 1.129 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.7805, allocations: 16 kB / 1.129 GB, free: 6.062 MB / 0.7292 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 0.0001127/0.7807, allocations: 108.9 kB / 1.13 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004792/0.7811, allocations: 341.3 kB / 1.13 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.7812, allocations: 55.28 kB / 1.13 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.7813, allocations: 45.58 kB / 1.13 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.7813, allocations: 4 kB / 1.13 GB, free: 5.508 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.7813, allocations: 4 kB / 1.13 GB, free: 5.504 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.7814, allocations: 11.92 kB / 1.13 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.7819, allocations: 0.5211 MB / 1.131 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7819, allocations: 0 / 1.131 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/0.7824, allocations: 95.16 kB / 1.131 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.7824, allocations: 0 / 1.131 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/0.7824, allocations: 12 kB / 1.131 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.7824, allocations: 3.953 kB / 1.131 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7824, allocations: 0 / 1.131 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008586/0.7833, allocations: 0.5557 MB / 1.131 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-05/0.7834, allocations: 132.4 kB / 1.131 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.729e-05/0.7835, allocations: 4 kB / 1.131 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.7838, allocations: 49.27 kB / 1.131 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.7839, allocations: 31.91 kB / 1.131 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.7839, allocations: 12.19 kB / 1.131 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003005/0.7842, allocations: 271 kB / 1.132 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7842, allocations: 0 / 1.132 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005238/0.7847, allocations: 191.1 kB / 1.132 GB, free: 3.559 MB / 0.7292 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.001128/0.7859, allocations: 1.127 MB / 1.133 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008211/0.7867, allocations: 0.504 MB / 1.133 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7867, allocations: 0 / 1.133 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.787, allocations: 175.8 kB / 1.134 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005865/0.7876, allocations: 109.8 kB / 1.134 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.7893, allocations: 0.7684 MB / 1.134 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.7898, allocations: 0.8882 MB / 1.135 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004182/0.7902, allocations: 84.48 kB / 1.135 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/0.7906, allocations: 215.3 kB / 1.136 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of SimCode: time 2.9e-07/0.7906, allocations: 0 / 1.136 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.8228, allocations: 10.04 MB / 1.145 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.8231, allocations: 189.1 kB / 1.146 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/3.057, allocations: 4.766 kB / 1.146 GB, free: 5.602 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)