Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_SupplyTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_SupplyTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.165/2.165, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 184.8 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009212/0.0009212, allocations: 116.5 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.717e-05/2.729e-05, allocations: 8 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2234, allocations: 142.4 MB / 1.206 GB, free: 43.77 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7704/0.9939, allocations: 152.9 MB / 1.355 GB, free: 18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.9941, allocations: 76.69 kB / 1.356 GB, free: 18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0288/1.023, allocations: 11.72 MB / 1.367 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/1.023, allocations: 3.844 kB / 1.367 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.226e-05/1.023, allocations: 11.69 kB / 1.367 GB, free: 32.99 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001967/1.025, allocations: 0.894 MB / 1.368 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/1.025, allocations: 11.44 kB / 1.368 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002882/1.025, allocations: 85.5 kB / 1.368 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007473/1.026, allocations: 473.3 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.416e-05/1.026, allocations: 32.72 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/1.026, allocations: 42.69 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008455/1.027, allocations: 433.5 kB / 1.369 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008802/1.028, allocations: 481.2 kB / 1.369 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/1.028, allocations: 0 / 1.369 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.921e-05/1.028, allocations: 0 / 1.369 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/1.028, allocations: 15.38 kB / 1.369 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003053/1.031, allocations: 1.801 MB / 1.371 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008637/1.032, allocations: 483.8 kB / 1.372 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/1.032, allocations: 184.2 kB / 1.372 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.482e-05/1.032, allocations: 14.34 kB / 1.372 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004905/1.033, allocations: 330.4 kB / 1.372 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 1.804e-06/1.033, allocations: 0 / 1.372 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.0007959/1.034, allocations: 465 kB / 1.373 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/1.034, allocations: 140.8 kB / 1.373 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/1.034, allocations: 360.4 kB / 1.373 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/1.034, allocations: 33.33 kB / 1.373 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/1.034, allocations: 312.1 kB / 1.373 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.627e-05/1.035, allocations: 145.1 kB / 1.373 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/1.035, allocations: 0 / 1.373 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.035, allocations: 366.6 kB / 1.374 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/1.035, allocations: 164.7 kB / 1.374 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/1.035, allocations: 277.5 kB / 1.374 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005127/1.036, allocations: 202.4 kB / 1.374 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/1.036, allocations: 0 / 1.374 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009586/1.037, allocations: 0.5328 MB / 1.375 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/1.037, allocations: 40.33 kB / 1.375 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.037, allocations: 3.844 kB / 1.375 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/1.037, allocations: 4.219 kB / 1.375 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/1.037, allocations: 104.1 kB / 1.375 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/1.037, allocations: 11.66 kB / 1.375 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/1.038, allocations: 98.27 kB / 1.375 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/1.038, allocations: 25.7 kB / 1.375 GB, free: 30.26 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.conTSupSet.maxSupTemRes.tim.u,$PRE.conTSupSet.maxSupTemRes.sampler.firstTrigger,conTSupSet.maxSupTemRes.sampler.firstTrigger,$whenCondition6,$whenCondition7,$whenCondition1,$PRE.conTSupSet.maxSupTemRes.tim.t_next,$whenCondition4,conTSupSet.maxSupTemRes.uniDel.sampleTrigger,$whenCondition5,conTSupSet.maxSupTemRes.sampler.sampleTrigger,conTSupSet.maxSupTemRes.tim.t_next,conTSupSet.maxSupTemRes.lesThr1.y,conTSupSet.maxSupTemRes.greThr2.y,$whenCondition2,$whenCondition3,conTSupSet.uOpeMod,conTSupSet.uZonTemResReq,conTSupSet.maxSupTemRes.tim.u,conTSupSet.maxSupTemRes.tim.y,conTSupSet.maxSupTemRes.greThr.y,conTSupSet.maxSupTemRes.netRes.u2,$PRE.conTSupSet.maxSupTemRes.uniDel.y,conTSupSet.maxSupTemRes.uniDel.y,conTSupSet.maxSupTemRes.sampler.y,conTSupSet.and1.u1,conTSupSet.and1.u2,conTSupSet.and1.y,conTSupSet.and2.u1,conTSupSet.and2.u2,conTSupSet.and2.y,conTSupSet.intEqu.y,$PRE.supFanSta.y,supFanSta.y,conTSupSet.maxSupTemRes.greThr1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * 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.0001499/1.038, allocations: 147.3 kB / 1.375 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006155/1.039, allocations: 472.9 kB / 1.376 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/1.039, allocations: 45.81 kB / 1.376 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007034/1.039, allocations: 483.3 kB / 1.376 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.039, allocations: 14.62 kB / 1.376 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.039, allocations: 0 / 1.376 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.039, allocations: 10.42 kB / 1.376 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/1.041, allocations: 1.385 MB / 1.378 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.041, allocations: 4 kB / 1.378 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/1.041, allocations: 74.12 kB / 1.378 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/1.041, allocations: 7.875 kB / 1.378 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/1.042, allocations: 17.03 kB / 1.378 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/1.042, allocations: 0 / 1.378 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.042, allocations: 3.812 kB / 1.378 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006462/1.042, allocations: 0.5975 MB / 1.378 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/1.042, allocations: 129 kB / 1.379 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-05/1.042, allocations: 8.953 kB / 1.379 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/1.043, allocations: 44.64 kB / 1.379 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/1.043, allocations: 60.7 kB / 1.379 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/1.043, allocations: 24.41 kB / 1.379 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002379/1.043, allocations: 257 kB / 1.379 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.212e-06/1.043, allocations: 0 / 1.379 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004606/1.044, allocations: 135.6 kB / 1.379 GB, free: 29 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 29 (conTSupSet.maxSupTemRes.tim.u,conTSupSet.maxSupTemRes.sampler.sampleTrigger,conTSupSet.maxSupTemRes.uniDel.sampleTrigger,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,conTSupSet.uOpeMod,conTSupSet.uZonTemResReq,conTSupSet.maxSupTemRes.tim.y,conTSupSet.maxSupTemRes.tim.t_next,conTSupSet.maxSupTemRes.greThr.y,conTSupSet.maxSupTemRes.netRes.u2,conTSupSet.maxSupTemRes.uniDel.y,conTSupSet.maxSupTemRes.sampler.y,conTSupSet.maxSupTemRes.sampler.firstTrigger,conTSupSet.and1.u1,conTSupSet.and1.u2,conTSupSet.and1.y,conTSupSet.and2.u1,conTSupSet.and2.u2,conTSupSet.and2.y,conTSupSet.intEqu.y,supFanSta.y,conTSupSet.maxSupTemRes.lesThr1.y,conTSupSet.maxSupTemRes.greThr2.y) * Number of discrete states: 2 (conTSupSet.maxSupTemRes.tim.t_next,conTSupSet.maxSupTemRes.uniDel.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001058/1.045, allocations: 1.327 MB / 1.38 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006541/1.045, allocations: 0.4946 MB / 1.381 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.045, allocations: 0 / 1.381 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003308/1.046, allocations: 254.5 kB / 1.381 GB, free: 28 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/1.046, allocations: 47.95 kB / 1.381 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/1.048, allocations: 0.804 MB / 1.382 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/1.048, allocations: 0.9113 MB / 1.383 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002352/1.048, allocations: 54.89 kB / 1.383 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/1.049, allocations: 242.4 kB / 1.383 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/1.049, allocations: 0 / 1.383 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/1.081, allocations: 9.657 MB / 1.392 GB, free: 22.34 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/1.081, allocations: 196.4 kB / 1.393 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/3.204, allocations: 0 / 1.393 GB, free: 22.14 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_SupplyTemperature_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_SupplyTemperature.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature_res.mat does not exist to compare? outputFormat=mat