Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_latest_Buildings_Obsolete_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 10.0.0-master/package.mo): time 2.466/2.466, allocations: 390.5 MB / 398 MB, free: 10.91 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.00144/0.00144, allocations: 180.8 kB / 491.2 MB, free: 1.582 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.747/1.747, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001009/0.001009, allocations: 83.97 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.569e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3853, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.205/1.591, allocations: 152.1 MB / 1.361 GB, free: 17.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/1.591, allocations: 87.17 kB / 1.361 GB, free: 17.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02746/1.619, allocations: 13.92 MB / 1.375 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.593e-06/1.619, allocations: 0 / 1.375 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.653e-05/1.619, allocations: 50.66 kB / 1.375 GB, free: 31.89 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.001904/1.621, allocations: 1.401 MB / 1.376 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/1.621, allocations: 15.47 kB / 1.376 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002748/1.621, allocations: 198.1 kB / 1.376 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/1.622, allocations: 0.8556 MB / 1.377 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.838e-05/1.622, allocations: 65.81 kB / 1.377 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/1.623, allocations: 115.9 kB / 1.377 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002068/1.625, allocations: 1.5 MB / 1.379 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003298/1.628, allocations: 2.586 MB / 1.381 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/1.628, allocations: 11.75 kB / 1.381 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/1.628, allocations: 7.75 kB / 1.381 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/1.628, allocations: 57.81 kB / 1.381 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00788/1.636, allocations: 9.545 MB / 1.391 GB, free: 22.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/1.636, allocations: 176.9 kB / 1.391 GB, free: 22.01 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/1.636, allocations: 80.14 kB / 1.391 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/1.636, allocations: 75.28 kB / 1.391 GB, free: 21.86 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/1.636, allocations: 113 kB / 1.391 GB, free: 21.74 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 2.745e-06/1.636, allocations: 0 / 1.391 GB, free: 21.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.000126/1.637, allocations: 60.61 kB / 1.391 GB, free: 21.69 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/1.637, allocations: 51.41 kB / 1.391 GB, free: 21.62 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/1.637, allocations: 0.5209 MB / 1.392 GB, free: 21.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/1.637, allocations: 25.7 kB / 1.392 GB, free: 21.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/1.637, allocations: 0.7505 MB / 1.392 GB, free: 20.9 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/1.637, allocations: 0 / 1.392 GB, free: 20.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-07/1.638, allocations: 7.906 kB / 1.392 GB, free: 20.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002009/1.638, allocations: 348 kB / 1.393 GB, free: 20.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-06/1.638, allocations: 0 / 1.393 GB, free: 20.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-06/1.638, allocations: 0 / 1.393 GB, free: 20.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.59e-05/1.638, allocations: 75.28 kB / 1.393 GB, free: 20.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-05/1.638, allocations: 79.23 kB / 1.393 GB, free: 20.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.473e-05/1.638, allocations: 64.52 kB / 1.393 GB, free: 20.37 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/1.638, allocations: 79.25 kB / 1.393 GB, free: 20.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.854e-05/1.638, allocations: 87.25 kB / 1.393 GB, free: 20.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.86e-05/1.638, allocations: 154.5 kB / 1.393 GB, free: 20.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.332e-05/1.638, allocations: 75.28 kB / 1.393 GB, free: 19.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.327e-05/1.638, allocations: 154.5 kB / 1.394 GB, free: 19.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.894e-05/1.638, allocations: 79.22 kB / 1.394 GB, free: 19.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/1.638, allocations: 79.06 kB / 1.394 GB, free: 19.68 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.0001408/1.638, allocations: 255.5 kB / 1.394 GB, free: 19.43 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.979e-05/1.639, allocations: 165.6 kB / 1.394 GB, free: 19.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/1.639, allocations: 136.7 kB / 1.394 GB, free: 19.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.023e-05/1.639, allocations: 146.2 kB / 1.394 GB, free: 19.01 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.099e-05/1.639, allocations: 188.1 kB / 1.395 GB, free: 18.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.506e-05/1.639, allocations: 184.1 kB / 1.395 GB, free: 18.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.619e-05/1.639, allocations: 188.2 kB / 1.395 GB, free: 18.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007746/1.64, allocations: 0.9587 MB / 1.396 GB, free: 17.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.695e-05/1.64, allocations: 101 kB / 1.396 GB, free: 17.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/1.64, allocations: 101 kB / 1.396 GB, free: 17.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.025e-05/1.64, allocations: 186.6 kB / 1.396 GB, free: 17.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-05/1.64, allocations: 184.3 kB / 1.396 GB, free: 17.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.281e-05/1.64, allocations: 180.2 kB / 1.397 GB, free: 17.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.976e-05/1.64, allocations: 184.2 kB / 1.397 GB, free: 16.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/1.64, allocations: 333.5 kB / 1.397 GB, free: 16.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.081e-05/1.64, allocations: 213.4 kB / 1.397 GB, free: 16.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.103e-05/1.641, allocations: 180 kB / 1.397 GB, free: 16.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/1.641, allocations: 104.1 kB / 1.398 GB, free: 16.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/1.641, allocations: 180.2 kB / 1.398 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/1.641, allocations: 104.8 kB / 1.398 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002571/1.641, allocations: 295.7 kB / 1.398 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.641, allocations: 0 / 1.398 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000593/1.642, allocations: 201.5 kB / 1.398 GB, free: 15.63 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.0005124/1.642, allocations: 0.8385 MB / 1.399 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.941e-05/1.642, allocations: 3.812 kB / 1.399 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.642, allocations: 0 / 1.399 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.185e-06/1.642, allocations: 7.984 kB / 1.399 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/1.643, allocations: 0.529 MB / 1.4 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/1.645, allocations: 2.025 MB / 1.402 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/1.647, allocations: 1.444 MB / 1.403 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.376e-05/1.647, allocations: 8.391 kB / 1.403 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004618/1.647, allocations: 0.4907 MB / 1.404 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of SimCode: time 1.463e-06/1.647, allocations: 0 / 1.404 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/1.683, allocations: 10.24 MB / 1.414 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/1.683, allocations: 207.4 kB / 1.414 GB, free: 6.203 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/4.166, allocations: 0.6875 kB / 1.414 GB, free: 6.203 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat does not exist to compare? outputFormat=mat