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.337/2.337, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001078/0.001078, allocations: 180.2 kB / 492.3 MB, free: 0.6094 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.688/1.688, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.001057/0.001057, allocations: 92.84 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.145e-05, allocations: 4 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3501, allocations: 142.3 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.161/1.512, allocations: 150.5 MB / 1.36 GB, free: 19.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/1.512, allocations: 80.31 kB / 1.36 GB, free: 19.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03078/1.543, allocations: 13.96 MB / 1.373 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.374e-06/1.543, allocations: 0 / 1.373 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001252/1.543, allocations: 46.5 kB / 1.373 GB, free: 33.61 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.003716/1.547, allocations: 1.396 MB / 1.375 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/1.547, allocations: 7.688 kB / 1.375 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00106/1.548, allocations: 315.4 kB / 1.375 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004442/1.548, allocations: 193.5 kB / 1.375 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/1.55, allocations: 0.8635 MB / 1.376 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.207e-05/1.55, allocations: 154.2 kB / 1.376 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/1.55, allocations: 201.4 kB / 1.376 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003895/1.554, allocations: 2.873 MB / 1.379 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.503e-05/1.554, allocations: 15.66 kB / 1.379 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/1.555, allocations: 93.19 kB / 1.379 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.84e-05/1.555, allocations: 56.47 kB / 1.379 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/1.557, allocations: 1.705 MB / 1.381 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008785/1.566, allocations: 10.88 MB / 1.392 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/1.566, allocations: 176.2 kB / 1.392 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/1.566, allocations: 84.14 kB / 1.392 GB, free: 23.13 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/1.566, allocations: 75.28 kB / 1.392 GB, free: 23.06 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/1.566, allocations: 105.8 kB / 1.392 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 3.076e-06/1.566, allocations: 0 / 1.392 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0002463/1.566, allocations: 208.1 kB / 1.392 GB, free: 22.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/1.566, allocations: 126.7 kB / 1.392 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003143/1.569, allocations: 3.036 MB / 1.395 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/1.569, allocations: 29.52 kB / 1.395 GB, free: 22.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005847/1.57, allocations: 0.7668 MB / 1.396 GB, free: 21.87 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/1.57, allocations: 0 / 1.396 GB, free: 21.87 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-07/1.57, allocations: 0 / 1.396 GB, free: 21.87 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.57, allocations: 309.9 kB / 1.396 GB, free: 21.56 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-06/1.57, allocations: 32 / 1.396 GB, free: 21.56 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-06/1.57, allocations: 7.844 kB / 1.396 GB, free: 21.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.792e-05/1.57, allocations: 75.28 kB / 1.396 GB, free: 21.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-05/1.57, allocations: 79.28 kB / 1.397 GB, free: 21.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002076/1.571, allocations: 211.2 kB / 1.397 GB, free: 21.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/1.571, allocations: 82.56 kB / 1.397 GB, free: 21.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.738e-05/1.571, allocations: 83.16 kB / 1.397 GB, free: 21.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.72e-05/1.571, allocations: 154.5 kB / 1.397 GB, free: 20.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.508e-05/1.571, allocations: 75.28 kB / 1.397 GB, free: 20.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.513e-05/1.571, allocations: 154.6 kB / 1.397 GB, free: 20.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003671/1.571, allocations: 168.8 kB / 1.397 GB, free: 20.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/1.571, allocations: 75.28 kB / 1.397 GB, free: 20.52 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 0.0001196/1.571, allocations: 259 kB / 1.398 GB, free: 20.26 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/1.571, allocations: 286.5 kB / 1.398 GB, free: 20.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/1.572, allocations: 321.9 kB / 1.398 GB, free: 19.88 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.025e-05/1.572, allocations: 185.2 kB / 1.398 GB, free: 19.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.619e-05/1.572, allocations: 183.7 kB / 1.399 GB, free: 19.51 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.573e-05/1.572, allocations: 176.3 kB / 1.399 GB, free: 19.33 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008423/1.573, allocations: 1.145 MB / 1.4 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.702e-05/1.573, allocations: 101 kB / 1.4 GB, free: 18.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/1.573, allocations: 105 kB / 1.4 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.033e-05/1.573, allocations: 196 kB / 1.4 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-05/1.573, allocations: 180.1 kB / 1.4 GB, free: 18.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.975e-05/1.573, allocations: 184.5 kB / 1.401 GB, free: 17.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.244e-05/1.573, allocations: 180.2 kB / 1.401 GB, free: 17.66 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/1.573, allocations: 0.4887 MB / 1.401 GB, free: 17.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006417/1.574, allocations: 0.5278 MB / 1.402 GB, free: 16.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/1.574, allocations: 180.2 kB / 1.402 GB, free: 16.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/1.575, allocations: 104.9 kB / 1.402 GB, free: 16.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/1.575, allocations: 184.2 kB / 1.402 GB, free: 16.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/1.575, allocations: 105 kB / 1.402 GB, free: 16.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002427/1.577, allocations: 2.314 MB / 1.405 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.2e-07/1.577, allocations: 0 / 1.405 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003897/1.577, allocations: 152.3 kB / 1.405 GB, free: 15.88 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.0005795/1.578, allocations: 1.014 MB / 1.406 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 3.778e-05/1.578, allocations: 0 / 1.406 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.578, allocations: 0 / 1.406 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/1.578, allocations: 0 / 1.406 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007926/1.579, allocations: 0.642 MB / 1.406 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/1.582, allocations: 2.433 MB / 1.409 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008858/1.583, allocations: 1.37 MB / 1.41 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003035/1.583, allocations: 279 kB / 1.41 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005681/1.584, allocations: 0.5498 MB / 1.411 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of SimCode: time 2.144e-06/1.584, allocations: 0 / 1.411 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05443/1.638, allocations: 26.3 MB / 1.437 GB, free: 1.258 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/1.638, allocations: 194 kB / 1.437 GB, free: 1.031 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.533/4.171, allocations: 6.234 kB / 1.437 GB, free: 1.027 MB / 0.8542 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