Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.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.ZoneGroups.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator",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.272/2.272, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001277/0.001277, allocations: 191.3 kB / 0.4902 GB, free: 2.234 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.521/1.521, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009931/0.0009932, allocations: 95.28 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003637, allocations: 10.5 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3085, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.4975, allocations: 151.3 MB / 1.377 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.4978, allocations: 67.95 kB / 1.377 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03073/0.5285, allocations: 13.89 MB / 1.391 GB, free: 4.145 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.945e-06/0.5286, allocations: 4 kB / 1.391 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001106/0.5287, allocations: 43.94 kB / 1.391 GB, free: 4.098 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.003095/0.5318, allocations: 1.452 MB / 1.392 GB, free: 2.586 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.5318, allocations: 12.03 kB / 1.392 GB, free: 2.574 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006883/0.5325, allocations: 319.3 kB / 1.392 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004467/0.533, allocations: 193.7 kB / 1.393 GB, free: 2.059 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.535, allocations: 0.8628 MB / 1.394 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.5351, allocations: 152.1 kB / 1.394 GB, free: 1.004 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003371/0.5355, allocations: 196 kB / 1.394 GB, free: 0.8125 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00491/0.5404, allocations: 2.903 MB / 1.397 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.99e-05/0.5405, allocations: 11.88 kB / 1.397 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/0.5407, allocations: 92 kB / 1.397 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.852e-05/0.5408, allocations: 56 kB / 1.397 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002926/0.5437, allocations: 1.74 MB / 1.399 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.5553, allocations: 10.88 MB / 1.409 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.5554, allocations: 173.1 kB / 1.409 GB, free: 320 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.5555, allocations: 75.28 kB / 1.409 GB, free: 244 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.5555, allocations: 109.8 kB / 1.409 GB, free: 124 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 3.276e-06/0.5556, allocations: 0 / 1.409 GB, free: 124 kB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 0.0003979/0.556, allocations: 207.3 kB / 1.41 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.556, allocations: 126.7 kB / 1.41 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004312/0.5604, allocations: 3.064 MB / 1.413 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.5604, allocations: 25.7 kB / 1.413 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007349/0.5611, allocations: 0.7724 MB / 1.414 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-06/0.5611, allocations: 4 kB / 1.414 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-07/0.5612, allocations: 0 / 1.414 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5613, allocations: 309.9 kB / 1.414 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.46e-06/0.5613, allocations: 0 / 1.414 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.5613, allocations: 0 / 1.414 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.05e-05/0.5613, allocations: 75.28 kB / 1.414 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.559e-05/0.5614, allocations: 83.28 kB / 1.414 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002883/0.5617, allocations: 215.1 kB / 1.414 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.5617, allocations: 83.28 kB / 1.414 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-05/0.5618, allocations: 75.28 kB / 1.414 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.151e-05/0.5618, allocations: 158.5 kB / 1.415 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.139e-05/0.5619, allocations: 75.28 kB / 1.415 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-05/0.5619, allocations: 154.5 kB / 1.415 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.5623, allocations: 162 kB / 1.415 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.5623, allocations: 75.28 kB / 1.415 GB, free: 10.42 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0007652/0.5631, allocations: 0.7477 MB / 1.416 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.5634, allocations: 286.6 kB / 1.416 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.5637, allocations: 326.4 kB / 1.416 GB, free: 9.039 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-05/0.5638, allocations: 176.3 kB / 1.416 GB, free: 8.859 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.898e-05/0.5639, allocations: 184.4 kB / 1.417 GB, free: 8.672 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.651e-05/0.5639, allocations: 180.3 kB / 1.417 GB, free: 8.488 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.5651, allocations: 1.15 MB / 1.418 GB, free: 7.277 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.908e-05/0.5652, allocations: 109 kB / 1.418 GB, free: 7.164 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.298e-05/0.5652, allocations: 101 kB / 1.418 GB, free: 7.059 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.808e-05/0.5653, allocations: 184.2 kB / 1.418 GB, free: 6.871 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.003e-05/0.5654, allocations: 180.3 kB / 1.418 GB, free: 6.688 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.182e-05/0.5655, allocations: 184.2 kB / 1.419 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.566e-05/0.5656, allocations: 180.2 kB / 1.419 GB, free: 6.316 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.5659, allocations: 488.3 kB / 1.419 GB, free: 5.812 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009526/0.5669, allocations: 0.5348 MB / 1.42 GB, free: 5.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/0.5671, allocations: 184.2 kB / 1.42 GB, free: 5.062 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.5674, allocations: 105 kB / 1.42 GB, free: 4.953 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/0.5675, allocations: 184.2 kB / 1.42 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.864e-05/0.5676, allocations: 105 kB / 1.42 GB, free: 4.656 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003064/0.5706, allocations: 2.337 MB / 1.423 GB, free: 2.305 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5706, allocations: 0 / 1.423 GB, free: 2.305 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004474/0.5711, allocations: 156 kB / 1.423 GB, free: 2.152 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.000712/0.5718, allocations: 1.002 MB / 1.424 GB, free: 1.121 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 3.956e-05/0.5719, allocations: 0 / 1.424 GB, free: 1.121 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5719, allocations: 0 / 1.424 GB, free: 1.121 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.869e-06/0.5719, allocations: 12 kB / 1.424 GB, free: 1.109 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008387/0.5727, allocations: 0.6369 MB / 1.424 GB, free: 476 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5277/1.1, allocations: 12.48 MB / 1.437 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/1.102, allocations: 1.374 MB / 1.438 GB, free: 181 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000576/1.103, allocations: 276.4 kB / 1.438 GB, free: 181 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007775/1.103, allocations: 0.5633 MB / 1.439 GB, free: 181 MB / 0.9167 GB Notification: Performance of SimCode: time 1.943e-06/1.103, allocations: 0 / 1.439 GB, free: 181 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05991/1.163, allocations: 27.82 MB / 1.466 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/1.164, allocations: 215.2 kB / 1.466 GB, free: 173.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.876/4.04, allocations: 3.625 kB / 1.466 GB, free: 173.3 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat does not exist to compare? outputFormat=mat