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.529/2.529, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001089/0.001089, allocations: 172.9 kB / 492.3 MB, free: 0.6172 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.56/1.56, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009047/0.0009046, allocations: 91.94 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.615e-05/3.622e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2598, allocations: 142.4 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9147/1.175, allocations: 150.5 MB / 1.359 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/1.175, allocations: 68.05 kB / 1.36 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02661/1.201, allocations: 13.96 MB / 1.373 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.635e-06/1.202, allocations: 0 / 1.373 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001522/1.202, allocations: 46.59 kB / 1.373 GB, free: 33.46 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.003298/1.205, allocations: 1.395 MB / 1.375 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/1.205, allocations: 11.72 kB / 1.375 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007957/1.206, allocations: 316 kB / 1.375 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005448/1.206, allocations: 194.2 kB / 1.375 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/1.208, allocations: 0.8575 MB / 1.376 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/1.208, allocations: 152.4 kB / 1.376 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003703/1.209, allocations: 204.5 kB / 1.376 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004282/1.213, allocations: 2.873 MB / 1.379 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.572e-05/1.213, allocations: 15.75 kB / 1.379 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/1.213, allocations: 92.97 kB / 1.379 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/1.213, allocations: 57.84 kB / 1.379 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/1.215, allocations: 1.701 MB / 1.381 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009371/1.225, allocations: 10.88 MB / 1.391 GB, free: 23.31 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.807e-05/1.225, allocations: 168.5 kB / 1.392 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.96e-05/1.225, allocations: 84.08 kB / 1.392 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/1.225, allocations: 79.27 kB / 1.392 GB, free: 22.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/1.225, allocations: 109.7 kB / 1.392 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 2.354e-06/1.225, allocations: 4 kB / 1.392 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0002333/1.225, allocations: 204.6 kB / 1.392 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/1.225, allocations: 126.7 kB / 1.392 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002866/1.228, allocations: 3.04 MB / 1.395 GB, free: 21.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/1.228, allocations: 25.7 kB / 1.395 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005567/1.229, allocations: 0.7714 MB / 1.396 GB, free: 21.78 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-06/1.229, allocations: 0 / 1.396 GB, free: 21.78 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-07/1.229, allocations: 0 / 1.396 GB, free: 21.78 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.229, allocations: 313.9 kB / 1.396 GB, free: 21.47 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.029e-06/1.229, allocations: 32 / 1.396 GB, free: 21.47 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/1.229, allocations: 4 kB / 1.396 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.355e-05/1.229, allocations: 75.28 kB / 1.396 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.847e-05/1.229, allocations: 79.12 kB / 1.396 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002347/1.229, allocations: 207.1 kB / 1.397 GB, free: 21.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.291e-05/1.229, allocations: 79 kB / 1.397 GB, free: 21.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/1.229, allocations: 79.09 kB / 1.397 GB, free: 21.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-05/1.229, allocations: 154.6 kB / 1.397 GB, free: 20.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.113e-05/1.23, allocations: 86.33 kB / 1.397 GB, free: 20.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-05/1.23, allocations: 154.5 kB / 1.397 GB, free: 20.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/1.23, allocations: 168.7 kB / 1.397 GB, free: 20.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/1.23, allocations: 75.28 kB / 1.397 GB, free: 20.43 MB / 0.8386 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 () * 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 9.625e-05/1.23, allocations: 260.4 kB / 1.398 GB, free: 20.17 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/1.23, allocations: 282.8 kB / 1.398 GB, free: 19.96 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/1.231, allocations: 328.9 kB / 1.398 GB, free: 19.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-05/1.231, allocations: 177.2 kB / 1.398 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.552e-05/1.231, allocations: 180.2 kB / 1.399 GB, free: 19.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.715e-05/1.231, allocations: 180.1 kB / 1.399 GB, free: 19.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007841/1.232, allocations: 1.149 MB / 1.4 GB, free: 18.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.885e-05/1.232, allocations: 108.6 kB / 1.4 GB, free: 18.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.781e-05/1.232, allocations: 104.9 kB / 1.4 GB, free: 18.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.248e-05/1.232, allocations: 184.2 kB / 1.4 GB, free: 18.13 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/1.232, allocations: 176.3 kB / 1.4 GB, free: 17.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-05/1.232, allocations: 184.5 kB / 1.401 GB, free: 17.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.958e-05/1.232, allocations: 188.2 kB / 1.401 GB, free: 17.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/1.232, allocations: 488.3 kB / 1.401 GB, free: 17.15 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005764/1.233, allocations: 0.5323 MB / 1.402 GB, free: 16.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/1.233, allocations: 184 kB / 1.402 GB, free: 16.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/1.233, allocations: 107.2 kB / 1.402 GB, free: 16.53 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/1.233, allocations: 176.3 kB / 1.402 GB, free: 16.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/1.233, allocations: 104.9 kB / 1.402 GB, free: 16.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002393/1.236, allocations: 2.317 MB / 1.405 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.61e-07/1.236, allocations: 0 / 1.405 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004177/1.236, allocations: 153.9 kB / 1.405 GB, free: 15.79 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: 0 () * Number of discrete 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.0005232/1.237, allocations: 1.007 MB / 1.406 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 3.777e-05/1.237, allocations: 7.062 kB / 1.406 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.237, allocations: 0 / 1.406 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/1.237, allocations: 0 / 1.406 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007328/1.237, allocations: 0.6359 MB / 1.406 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/1.24, allocations: 2.435 MB / 1.409 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008141/1.241, allocations: 1.376 MB / 1.41 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002861/1.241, allocations: 275 kB / 1.41 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/1.242, allocations: 0.563 MB / 1.411 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of SimCode: time 1.142e-06/1.242, allocations: 0 / 1.411 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04963/1.291, allocations: 26.28 MB / 1.436 GB, free: 1.309 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/1.292, allocations: 188.2 kB / 1.437 GB, free: 1.078 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/3.966, allocations: 0 / 1.437 GB, free: 1.078 MB / 0.8542 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