Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.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_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",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.255/2.255, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.00129/0.00129, allocations: 179 kB / 498.1 MB, free: 5.797 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.533/1.533, allocations: 223.1 MB / 0.7948 GB, free: 17.98 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.0011/0.0011, allocations: 98.56 kB / 0.9346 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004034, allocations: 10.22 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3222, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/0.5156, allocations: 150.6 MB / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.5159, allocations: 75.89 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03038/0.5463, allocations: 13.9 MB / 1.384 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.755e-06/0.5464, allocations: 0 / 1.384 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001101/0.5465, allocations: 47.94 kB / 1.384 GB, free: 13.34 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.003137/0.5496, allocations: 1.46 MB / 1.385 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.5497, allocations: 8.031 kB / 1.385 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007703/0.5505, allocations: 323.3 kB / 1.385 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005434/0.551, allocations: 193.7 kB / 1.386 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.5531, allocations: 0.855 MB / 1.387 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.5533, allocations: 156.1 kB / 1.387 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/0.5536, allocations: 196 kB / 1.387 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003854/0.5575, allocations: 2.915 MB / 1.39 GB, free: 6.852 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.5575, allocations: 15.86 kB / 1.39 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.5577, allocations: 88 kB / 1.39 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.993e-05/0.5577, allocations: 56 kB / 1.39 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.5601, allocations: 1.732 MB / 1.392 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009124/0.5692, allocations: 10.87 MB / 1.402 GB, free: 9.738 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 9.846e-05/0.5694, allocations: 169.1 kB / 1.402 GB, free: 9.562 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.5694, allocations: 75.28 kB / 1.402 GB, free: 9.488 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.049e-05/0.5695, allocations: 109.8 kB / 1.402 GB, free: 9.371 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 2.986e-06/0.5695, allocations: 8 kB / 1.402 GB, free: 9.363 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 0.00028/0.5698, allocations: 215.2 kB / 1.403 GB, free: 9.145 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/0.5699, allocations: 126.7 kB / 1.403 GB, free: 9.008 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00379/0.5736, allocations: 3.06 MB / 1.406 GB, free: 5.926 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.5737, allocations: 25.7 kB / 1.406 GB, free: 5.895 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007151/0.5744, allocations: 0.7685 MB / 1.407 GB, free: 5.121 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-06/0.5744, allocations: 0 / 1.407 GB, free: 5.121 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-07/0.5744, allocations: 0 / 1.407 GB, free: 5.121 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5746, allocations: 317.9 kB / 1.407 GB, free: 4.805 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-06/0.5746, allocations: 0 / 1.407 GB, free: 4.805 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/0.5746, allocations: 0 / 1.407 GB, free: 4.805 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.038e-05/0.5746, allocations: 75.28 kB / 1.407 GB, free: 4.73 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.471e-05/0.5747, allocations: 75.31 kB / 1.407 GB, free: 4.656 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002784/0.575, allocations: 207.4 kB / 1.407 GB, free: 4.445 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.641e-05/0.575, allocations: 83.28 kB / 1.407 GB, free: 4.363 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.729e-05/0.5751, allocations: 91.14 kB / 1.407 GB, free: 4.273 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.907e-05/0.5751, allocations: 154.6 kB / 1.408 GB, free: 4.121 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.926e-05/0.5752, allocations: 79.22 kB / 1.408 GB, free: 4.043 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-05/0.5752, allocations: 154.6 kB / 1.408 GB, free: 3.891 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003902/0.5756, allocations: 154.1 kB / 1.408 GB, free: 3.738 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.5757, allocations: 79.22 kB / 1.408 GB, free: 3.66 MB / 0.9011 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.0007658/0.5764, allocations: 0.7422 MB / 1.409 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/0.5767, allocations: 282.5 kB / 1.409 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.577, allocations: 330.4 kB / 1.409 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.745e-05/0.5771, allocations: 184.2 kB / 1.409 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.647e-05/0.5772, allocations: 181 kB / 1.41 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.739e-05/0.5772, allocations: 180.2 kB / 1.41 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.5783, allocations: 1.146 MB / 1.411 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.273e-05/0.5783, allocations: 104.9 kB / 1.411 GB, free: 420 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.5784, allocations: 101 kB / 1.411 GB, free: 312 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.511e-05/0.5785, allocations: 180.2 kB / 1.411 GB, free: 124 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/0.5786, allocations: 184.6 kB / 1.411 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.29e-05/0.5787, allocations: 192.2 kB / 1.412 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.467e-05/0.5787, allocations: 180.2 kB / 1.412 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.5791, allocations: 488.5 kB / 1.412 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009258/0.58, allocations: 0.5348 MB / 1.413 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.5802, allocations: 176.3 kB / 1.413 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.5805, allocations: 112.9 kB / 1.413 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.814e-05/0.5806, allocations: 176.3 kB / 1.413 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.5806, allocations: 112.8 kB / 1.413 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002889/0.5835, allocations: 2.345 MB / 1.416 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5835, allocations: 0 / 1.416 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00044/0.584, allocations: 152 kB / 1.416 GB, free: 11.39 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.000658/0.5846, allocations: 1.002 MB / 1.417 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.022e-05/0.5847, allocations: 0 / 1.417 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5847, allocations: 3.938 kB / 1.417 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.5847, allocations: 0 / 1.417 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009007/0.5856, allocations: 0.6436 MB / 1.417 GB, free: 9.699 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5704/1.156, allocations: 12.48 MB / 1.43 GB, free: 191 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/1.158, allocations: 1.377 MB / 1.431 GB, free: 190.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000584/1.158, allocations: 276.3 kB / 1.431 GB, free: 190.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007855/1.159, allocations: 0.5529 MB / 1.432 GB, free: 190.3 MB / 0.9167 GB Notification: Performance of SimCode: time 1.383e-06/1.159, allocations: 4.531 kB / 1.432 GB, free: 190.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07127/1.23, allocations: 27.83 MB / 1.459 GB, free: 185 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/1.23, allocations: 216.1 kB / 1.459 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.697/3.927, allocations: 0 / 1.459 GB, free: 184.8 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat does not exist to compare? outputFormat=mat