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.OutsideAirFlow.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.OutsideAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow",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.0008983/0.0008984, allocations: 99.55 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.0009846/0.0009848, allocations: 177.3 kB / 15.95 MB, free: 216 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.466/1.466, allocations: 223.2 MB / 239.9 MB, free: 5.383 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.5/2.5, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003732, allocations: 16 kB / 0.8147 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8426/0.843, allocations: 142.3 MB / 0.9537 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow): time 0.002094/0.8452, allocations: 1.324 MB / 0.955 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.8466, allocations: 1.107 MB / 0.956 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.8467, allocations: 6.812 kB / 0.956 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.792e-05/0.8468, allocations: 31.64 kB / 0.9561 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.847, allocations: 47.36 kB / 0.9561 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.8472, allocations: 100.6 kB / 0.9562 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.8476, allocations: 257.6 kB / 0.9565 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.8479, allocations: 208.9 kB / 0.9567 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.8481, allocations: 104.4 kB / 0.9568 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.8482, allocations: 133.4 kB / 0.9569 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.8483, allocations: 12.19 kB / 0.9569 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.632e-05/0.8483, allocations: 11.19 kB / 0.9569 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.8484, allocations: 61.08 kB / 0.957 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.374e-05/0.8484, allocations: 85.48 kB / 0.957 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.8488, allocations: 0.4951 MB / 0.9575 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.8488, allocations: 0 / 0.9575 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.534e-06/0.8488, allocations: 0 / 0.9575 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.8488, allocations: 0 / 0.9575 GB, free: 5.016 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001039/0.8499, allocations: 0.6584 MB / 0.9582 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.8499, allocations: 10.81 kB / 0.9582 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.941e-05/0.85, allocations: 95 kB / 0.9583 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.077e-05/0.8501, allocations: 51.83 kB / 0.9583 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.8505, allocations: 327 kB / 0.9586 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/0.8506, allocations: 35.53 kB / 0.9587 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.656e-05/0.8506, allocations: 44.47 kB / 0.9587 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007647/0.8514, allocations: 388.5 kB / 0.9591 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.8514, allocations: 0 / 0.9591 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.8515, allocations: 16.12 kB / 0.9591 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.8515, allocations: 12.83 kB / 0.9591 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008091/0.8523, allocations: 354.4 kB / 0.9594 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.8541, allocations: 1.341 MB / 0.9608 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008154/0.8549, allocations: 336.6 kB / 0.9611 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.855, allocations: 6 kB / 0.9611 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.855, allocations: 35.73 kB / 0.9611 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/0.855, allocations: 0 / 0.9611 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.001023/0.856, allocations: 360.5 kB / 0.9615 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.8561, allocations: 57.95 kB / 0.9615 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004559/0.8565, allocations: 402.6 kB / 0.9619 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.8566, allocations: 32.33 kB / 0.9619 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.8567, allocations: 236.9 kB / 0.9622 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.8568, allocations: 70.03 kB / 0.9622 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.8568, allocations: 4.969 kB / 0.9622 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.906e-05/0.8569, allocations: 343.4 kB / 0.9626 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.8572, allocations: 106.5 kB / 0.9627 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.8576, allocations: 196.1 kB / 0.9628 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.8579, allocations: 123 kB / 0.963 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8579, allocations: 1.156 kB / 0.963 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007405/0.8586, allocations: 348.9 kB / 0.9633 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.8587, allocations: 7.312 kB / 0.9633 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.8587, allocations: 2.531 kB / 0.9633 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.8587, allocations: 5.062 kB / 0.9633 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.8589, allocations: 62.44 kB / 0.9634 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.859, allocations: 16.56 kB / 0.9634 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.8592, allocations: 68.78 kB / 0.9635 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.8593, allocations: 8.562 kB / 0.9635 GB, free: 0.5898 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 11 (opeMod.y,outAirSet_SinZon_noOccSen.occMod.y,outAirSet_SinZon_noOccSen.occSen.y,outAirSet_SinZon.occMod.y,outAirSet_SinZon.occSen.y,outAirSet_SinZon.intEqu1.y,outAirSet_SinZon_noOccSen.intEqu1.y,$PRE.outAirSet_SinZon.hys.y,outAirSet_SinZon.hys.y,$PRE.outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001756/0.8594, allocations: 170.6 kB / 0.9636 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.8595, allocations: 36.19 kB / 0.9637 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.5e-05/0.8596, allocations: 36.56 kB / 0.9637 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.8596, allocations: 2.281 kB / 0.9637 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.8596, allocations: 1.125 kB / 0.9637 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.8596, allocations: 3.953 kB / 0.9637 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.8608, allocations: 0.7203 MB / 0.9644 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8608, allocations: 1.375 kB / 0.9644 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.861, allocations: 47.12 kB / 0.9644 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.861, allocations: 5.25 kB / 0.9645 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.861, allocations: 1.312 kB / 0.9645 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.77e-06/0.861, allocations: 7.938 kB / 0.9645 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.861, allocations: 1.594 kB / 0.9645 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007424/0.8618, allocations: 372.1 kB / 0.9648 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.656e-05/0.8619, allocations: 109.5 kB / 0.9649 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/0.862, allocations: 9.203 kB / 0.9649 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.8622, allocations: 32.81 kB / 0.965 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.8623, allocations: 34.12 kB / 0.965 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.8623, allocations: 3 kB / 0.965 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003204/0.8626, allocations: 275.4 kB / 0.9653 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.753e-06/0.8626, allocations: 0 / 0.9653 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003544/0.863, allocations: 76.31 kB / 0.9653 GB, free: 15.19 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (outAirSet_SinZon.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Number of discrete states: 2 (outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.001103/0.8641, allocations: 0.9127 MB / 0.9662 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007152/0.8648, allocations: 250.6 kB / 0.9665 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.8648, allocations: 0 / 0.9665 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.8652, allocations: 120 kB / 0.9666 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.8655, allocations: 32.03 kB / 0.9666 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004638/0.8701, allocations: 3.624 MB / 0.9701 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.8706, allocations: 0.8132 MB / 0.9709 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.8707, allocations: 40.67 kB / 0.971 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.8709, allocations: 129.6 kB / 0.9711 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of SimCode: time 7.31e-07/0.8709, allocations: 0 / 0.9711 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.8911, allocations: 5.97 MB / 0.9769 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.8914, allocations: 238.1 kB / 0.9772 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.738, allocations: 0 / 0.9772 GB, free: 7.547 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.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.OutsideAirFlow_res.mat does not exist to compare? outputFormat=mat