Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_CoolingCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_CoolingCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.235/2.235, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.0009688/0.0009687, allocations: 173 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.3 MB / 0.7915 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 91.89 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.489e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2614, allocations: 143 MB / 1.219 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8683/1.13, allocations: 152.9 MB / 1.368 GB, free: 1.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/1.13, allocations: 77.88 kB / 1.368 GB, free: 1.188 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01858/1.149, allocations: 5.531 MB / 1.374 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.23e-06/1.149, allocations: 0 / 1.374 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.72e-05/1.149, allocations: 23.86 kB / 1.374 GB, free: 12.48 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009922/1.15, allocations: 0.5333 MB / 1.374 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/1.15, allocations: 20.02 kB / 1.374 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.538e-05/1.15, allocations: 56.55 kB / 1.374 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.176e-05/1.15, allocations: 31.62 kB / 1.374 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/1.151, allocations: 314.7 kB / 1.375 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/1.151, allocations: 19.69 kB / 1.375 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/1.151, allocations: 27.5 kB / 1.375 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/1.151, allocations: 232.5 kB / 1.375 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.151, allocations: 0 / 1.375 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/1.151, allocations: 6.875 kB / 1.375 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/1.151, allocations: 8 kB / 1.375 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/1.152, allocations: 143.3 kB / 1.375 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/1.153, allocations: 0.8942 MB / 1.376 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/1.153, allocations: 152 kB / 1.376 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/1.153, allocations: 64.92 kB / 1.376 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/1.154, allocations: 0 / 1.376 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/1.154, allocations: 117.8 kB / 1.376 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/1.154, allocations: 4 kB / 1.376 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003891/1.154, allocations: 152.8 kB / 1.376 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/1.154, allocations: 84.17 kB / 1.377 GB, free: 9.973 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/1.155, allocations: 256.9 kB / 1.377 GB, free: 9.758 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/1.155, allocations: 32.77 kB / 1.377 GB, free: 9.723 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/1.155, allocations: 170.5 kB / 1.377 GB, free: 9.594 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/1.155, allocations: 49.66 kB / 1.377 GB, free: 9.551 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/1.155, allocations: 0 / 1.377 GB, free: 9.551 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.155, allocations: 345.8 kB / 1.377 GB, free: 9.215 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/1.155, allocations: 70.61 kB / 1.377 GB, free: 9.172 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/1.155, allocations: 116.7 kB / 1.377 GB, free: 9.074 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/1.155, allocations: 101.1 kB / 1.378 GB, free: 8.996 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.155, allocations: 4.031 kB / 1.378 GB, free: 8.992 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003996/1.156, allocations: 263 kB / 1.378 GB, free: 8.777 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001667/1.156, allocations: 396.4 kB / 1.378 GB, free: 8.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.156, allocations: 0 / 1.378 GB, free: 8.367 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.156, allocations: 4 kB / 1.378 GB, free: 8.363 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/1.156, allocations: 43.59 kB / 1.378 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/1.156, allocations: 0 / 1.378 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/1.156, allocations: 67.8 kB / 1.378 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/1.157, allocations: 15.92 kB / 1.378 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/1.157, allocations: 4 kB / 1.378 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00036/1.157, allocations: 226.3 kB / 1.379 GB, free: 8.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/1.157, allocations: 3.938 kB / 1.379 GB, free: 8.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.009e-06/1.157, allocations: 4 kB / 1.379 GB, free: 8.066 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/1.157, allocations: 30.8 kB / 1.379 GB, free: 8.039 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/1.157, allocations: 3.953 kB / 1.379 GB, free: 8.035 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/1.157, allocations: 66.86 kB / 1.379 GB, free: 7.973 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/1.157, allocations: 7.984 kB / 1.379 GB, free: 7.965 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,$PRE.zonSta.booPul.y,zonSta.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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 8.96e-05/1.157, allocations: 119.3 kB / 1.379 GB, free: 7.848 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/1.158, allocations: 23.72 kB / 1.379 GB, free: 7.824 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.783e-05/1.158, allocations: 31.53 kB / 1.379 GB, free: 7.809 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/1.158, allocations: 4 kB / 1.379 GB, free: 7.805 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.158, allocations: 0 / 1.379 GB, free: 7.805 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.158, allocations: 3.953 kB / 1.379 GB, free: 7.801 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/1.158, allocations: 326.3 kB / 1.379 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.158, allocations: 0 / 1.379 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/1.158, allocations: 35.97 kB / 1.379 GB, free: 7.457 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/1.158, allocations: 0 / 1.379 GB, free: 7.457 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/1.158, allocations: 2.562 kB / 1.379 GB, free: 7.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/1.158, allocations: 7.938 kB / 1.379 GB, free: 7.449 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.158, allocations: 8 kB / 1.379 GB, free: 7.441 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/1.158, allocations: 191.8 kB / 1.379 GB, free: 7.273 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/1.158, allocations: 107 kB / 1.38 GB, free: 7.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/1.159, allocations: 3.984 kB / 1.38 GB, free: 7.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/1.159, allocations: 23.42 kB / 1.38 GB, free: 7.133 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/1.159, allocations: 15.23 kB / 1.38 GB, free: 7.121 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/1.159, allocations: 7.984 kB / 1.38 GB, free: 7.113 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001821/1.159, allocations: 204.4 kB / 1.38 GB, free: 6.957 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/1.159, allocations: 0 / 1.38 GB, free: 6.957 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003543/1.159, allocations: 98.56 kB / 1.38 GB, free: 6.867 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,zonSta.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005691/1.16, allocations: 0.7481 MB / 1.381 GB, free: 6.129 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005069/1.16, allocations: 401.4 kB / 1.381 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.16, allocations: 0 / 1.381 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.93e-05/1.161, allocations: 64.86 kB / 1.381 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/1.161, allocations: 62.95 kB / 1.381 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007775/1.162, allocations: 382.9 kB / 1.381 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/1.162, allocations: 0.7725 MB / 1.382 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001877/1.162, allocations: 46.03 kB / 1.382 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/1.162, allocations: 84.28 kB / 1.382 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.162, allocations: 0 / 1.382 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/1.18, allocations: 6.449 MB / 1.389 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/1.181, allocations: 202.2 kB / 1.389 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/3.143, allocations: 1.969 kB / 1.389 GB, free: 14.05 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_CoolingCoil_fmu --startTime=0 --stopTime=28000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_CoolingCoil.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil_res.mat does not exist to compare? outputFormat=mat