Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.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.ZoneGroups.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.384/2.384, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001257/0.001257, allocations: 187.3 kB / 498.1 MB, free: 5.676 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.52/1.52, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0008668/0.0008668, allocations: 102.3 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003386, allocations: 10.72 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2827, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2206/0.5034, allocations: 150.5 MB / 1.37 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.5037, allocations: 63.95 kB / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03029/0.534, allocations: 13.88 MB / 1.384 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.335e-06/0.534, allocations: 0 / 1.384 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001125/0.5341, allocations: 47.94 kB / 1.384 GB, free: 13.35 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.003188/0.5373, allocations: 1.464 MB / 1.385 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.5374, allocations: 8.031 kB / 1.385 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008623/0.5383, allocations: 315.3 kB / 1.385 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005024/0.5388, allocations: 193.7 kB / 1.386 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/0.5407, allocations: 0.8628 MB / 1.386 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.5408, allocations: 152.1 kB / 1.387 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003495/0.5412, allocations: 196 kB / 1.387 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005416/0.5466, allocations: 2.915 MB / 1.39 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.934e-05/0.5467, allocations: 7.938 kB / 1.39 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002317/0.5469, allocations: 91.94 kB / 1.39 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.345e-05/0.547, allocations: 56 kB / 1.39 GB, free: 6.711 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002981/0.55, allocations: 1.744 MB / 1.391 GB, free: 4.965 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0114/0.5614, allocations: 10.87 MB / 1.402 GB, free: 9.75 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.5616, allocations: 169.1 kB / 1.402 GB, free: 9.574 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-05/0.5616, allocations: 75.28 kB / 1.402 GB, free: 9.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.5617, allocations: 113.8 kB / 1.402 GB, free: 9.379 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 6.652e-06/0.5617, allocations: 3.984 kB / 1.402 GB, free: 9.375 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 0.0003036/0.562, allocations: 215.2 kB / 1.403 GB, free: 9.156 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.5621, allocations: 130.6 kB / 1.403 GB, free: 9.016 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003831/0.5659, allocations: 3.06 MB / 1.406 GB, free: 5.934 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.566, allocations: 25.7 kB / 1.406 GB, free: 5.902 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007528/0.5667, allocations: 0.7724 MB / 1.406 GB, free: 5.125 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-06/0.5667, allocations: 0 / 1.406 GB, free: 5.125 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.5667, allocations: 0 / 1.406 GB, free: 5.125 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.5669, allocations: 313.9 kB / 1.407 GB, free: 4.812 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-06/0.5669, allocations: 0 / 1.407 GB, free: 4.812 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.5669, allocations: 3.938 kB / 1.407 GB, free: 4.809 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.535e-05/0.5669, allocations: 75.28 kB / 1.407 GB, free: 4.734 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.921e-05/0.567, allocations: 75.31 kB / 1.407 GB, free: 4.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002598/0.5672, allocations: 215.3 kB / 1.407 GB, free: 4.441 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.5673, allocations: 79.28 kB / 1.407 GB, free: 4.363 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.192e-05/0.5673, allocations: 79.22 kB / 1.407 GB, free: 4.285 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.882e-05/0.5674, allocations: 158.5 kB / 1.407 GB, free: 4.129 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.903e-05/0.5675, allocations: 83.22 kB / 1.408 GB, free: 4.047 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.322e-05/0.5675, allocations: 154.6 kB / 1.408 GB, free: 3.895 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.5679, allocations: 154.1 kB / 1.408 GB, free: 3.742 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.5679, allocations: 79.22 kB / 1.408 GB, free: 3.664 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.0007314/0.5687, allocations: 0.7461 MB / 1.409 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/0.5689, allocations: 286.5 kB / 1.409 GB, free: 2.617 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.5692, allocations: 326.4 kB / 1.409 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.888e-05/0.5693, allocations: 176.3 kB / 1.409 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.88e-05/0.5693, allocations: 177.1 kB / 1.41 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-05/0.5694, allocations: 192.2 kB / 1.41 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.5705, allocations: 1.142 MB / 1.411 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-05/0.5705, allocations: 104.9 kB / 1.411 GB, free: 424 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.5705, allocations: 105 kB / 1.411 GB, free: 312 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.953e-05/0.5706, allocations: 176.3 kB / 1.411 GB, free: 128 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.983e-05/0.5707, allocations: 184.5 kB / 1.411 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.568e-05/0.5708, allocations: 184.2 kB / 1.412 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.999e-05/0.5708, allocations: 184.2 kB / 1.412 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.5712, allocations: 488.5 kB / 1.412 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009666/0.5722, allocations: 0.5348 MB / 1.413 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.5724, allocations: 184.3 kB / 1.413 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.5726, allocations: 104.9 kB / 1.413 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.5727, allocations: 176.3 kB / 1.413 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.5727, allocations: 104.9 kB / 1.413 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0028/0.5755, allocations: 2.345 MB / 1.416 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5755, allocations: 0 / 1.416 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004734/0.576, allocations: 152 kB / 1.416 GB, free: 11.4 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.00063/0.5767, allocations: 1.005 MB / 1.417 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 4.831e-05/0.5767, allocations: 0 / 1.417 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5767, allocations: 0 / 1.417 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.106e-06/0.5767, allocations: 3.938 kB / 1.417 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008648/0.5776, allocations: 0.6512 MB / 1.417 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4807/1.058, allocations: 12.48 MB / 1.429 GB, free: 190.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/1.059, allocations: 1.369 MB / 1.431 GB, free: 189.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004875/1.06, allocations: 277.5 kB / 1.431 GB, free: 189.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005937/1.061, allocations: 0.5605 MB / 1.432 GB, free: 189.8 MB / 0.9167 GB Notification: Performance of SimCode: time 8.82e-07/1.061, allocations: 3.844 kB / 1.432 GB, free: 189.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05421/1.115, allocations: 27.81 MB / 1.459 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/1.115, allocations: 204.7 kB / 1.459 GB, free: 184.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/3.79, allocations: 1.25 kB / 1.459 GB, free: 184.2 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat does not exist to compare? outputFormat=mat