Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 98.92 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.3 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003386, allocations: 11.98 kB / 0.8147 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.662/0.6624, allocations: 142.3 MB / 0.9537 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.0009943/0.6634, allocations: 0.6205 MB / 0.9543 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009371/0.6644, allocations: 0.8834 MB / 0.9551 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.516e-05/0.6645, allocations: 1.438 kB / 0.9551 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.285e-05/0.6645, allocations: 7.922 kB / 0.9551 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.043e-05/0.6646, allocations: 19.38 kB / 0.9552 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.6647, allocations: 39.03 kB / 0.9552 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.6649, allocations: 81.56 kB / 0.9553 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.665, allocations: 49.98 kB / 0.9553 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.566e-05/0.6651, allocations: 44.73 kB / 0.9554 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.241e-05/0.6652, allocations: 39.72 kB / 0.9554 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.6652, allocations: 4.219 kB / 0.9554 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.596e-05/0.6652, allocations: 4.156 kB / 0.9554 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.6652, allocations: 19.7 kB / 0.9554 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.6653, allocations: 45.7 kB / 0.9555 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.6654, allocations: 154.2 kB / 0.9556 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.6654, allocations: 4 kB / 0.9556 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6654, allocations: 0 / 0.9556 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.6654, allocations: 0 / 0.9556 GB, free: 6.613 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000487/0.6659, allocations: 424.3 kB / 0.956 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.666, allocations: 9.75 kB / 0.956 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.666, allocations: 54.77 kB / 0.9561 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.6661, allocations: 19.05 kB / 0.9561 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.6663, allocations: 218.1 kB / 0.9563 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.6663, allocations: 10.08 kB / 0.9563 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.6664, allocations: 19.95 kB / 0.9563 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.6667, allocations: 136.3 kB / 0.9565 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.6667, allocations: 7.953 kB / 0.9565 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.6667, allocations: 4.969 kB / 0.9565 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.6668, allocations: 3.594 kB / 0.9565 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.6671, allocations: 107.8 kB / 0.9566 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006569/0.6677, allocations: 484.7 kB / 0.9571 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.6679, allocations: 85.11 kB / 0.9571 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.668, allocations: 5.5 kB / 0.9571 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.668, allocations: 39.8 kB / 0.9572 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.668, allocations: 3.984 kB / 0.9572 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000428/0.6684, allocations: 153.9 kB / 0.9573 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.6685, allocations: 52.94 kB / 0.9574 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.6686, allocations: 190.3 kB / 0.9576 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.6686, allocations: 26.8 kB / 0.9576 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/0.6687, allocations: 119.4 kB / 0.9577 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.6687, allocations: 18.86 kB / 0.9577 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.6687, allocations: 0 / 0.9577 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.54e-05/0.6688, allocations: 333.5 kB / 0.958 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.6689, allocations: 40.33 kB / 0.9581 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.669, allocations: 61.55 kB / 0.9581 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.6692, allocations: 42.61 kB / 0.9582 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.6692, allocations: 0 / 0.9582 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002906/0.6695, allocations: 152.8 kB / 0.9583 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.6695, allocations: 6.312 kB / 0.9583 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6695, allocations: 3.953 kB / 0.9583 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.6695, allocations: 1.375 kB / 0.9583 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.6697, allocations: 19.08 kB / 0.9584 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.6697, allocations: 1.156 kB / 0.9584 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.6698, allocations: 21.33 kB / 0.9584 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.6698, allocations: 6.906 kB / 0.9584 GB, free: 4.199 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.exhDamPos.greThr.y,exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.274e-05/0.6699, allocations: 124.3 kB / 0.9585 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.6699, allocations: 13.31 kB / 0.9585 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.6702, allocations: 134.1 kB / 0.9586 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.6702, allocations: 7.953 kB / 0.9586 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6703, allocations: 1.531 kB / 0.9586 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6703, allocations: 0 / 0.9586 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.6707, allocations: 431 kB / 0.9591 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.6708, allocations: 4.031 kB / 0.9591 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.729e-05/0.6709, allocations: 21.73 kB / 0.9591 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.6709, allocations: 5.328 kB / 0.9591 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.6709, allocations: 1.375 kB / 0.9591 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.6709, allocations: 1.375 kB / 0.9591 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6709, allocations: 4 kB / 0.9591 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.6712, allocations: 243.6 kB / 0.9593 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.6712, allocations: 97.08 kB / 0.9594 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.6713, allocations: 1.375 kB / 0.9594 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.6714, allocations: 17.61 kB / 0.9594 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.6715, allocations: 13.48 kB / 0.9595 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.6715, allocations: 1.375 kB / 0.9595 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.584e-05/0.6716, allocations: 143.4 kB / 0.9596 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6716, allocations: 0 / 0.9596 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000253/0.6718, allocations: 19.91 kB / 0.9596 GB, free: 3.109 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 1 (exhDamPos.greThr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0004775/0.6723, allocations: 0.8489 MB / 0.9604 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002762/0.6726, allocations: 97.23 kB / 0.9605 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6726, allocations: 5.031 kB / 0.9605 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.6727, allocations: 57.47 kB / 0.9606 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.673, allocations: 21.86 kB / 0.9606 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.6744, allocations: 1.003 MB / 0.9616 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.6746, allocations: 0.7185 MB / 0.9623 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.954e-05/0.6746, allocations: 7.875 kB / 0.9623 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.6747, allocations: 48.8 kB / 0.9623 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.6747, allocations: 0 / 0.9623 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.6911, allocations: 2.853 MB / 0.9651 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/0.6915, allocations: 223.2 kB / 0.9653 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.432, allocations: 2.188 kB / 0.9653 GB, free: 15.18 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat does not exist to compare? outputFormat=mat