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.388/2.388, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001587/0.001587, allocations: 188.8 kB / 487.4 MB, free: 5.031 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.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009743/0.0009742, allocations: 102.6 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.193e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.2997, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/1.313, allocations: 149.9 MB / 1.352 GB, free: 17.94 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/1.314, allocations: 77.06 kB / 1.353 GB, free: 17.94 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02637/1.34, allocations: 13.84 MB / 1.366 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.744e-06/1.34, allocations: 0 / 1.366 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.51e-05/1.34, allocations: 46.5 kB / 1.366 GB, free: 32.49 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.001914/1.342, allocations: 1.396 MB / 1.367 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.342, allocations: 7.75 kB / 1.367 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/1.342, allocations: 194.1 kB / 1.368 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/1.344, allocations: 0.8628 MB / 1.368 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/1.344, allocations: 65.66 kB / 1.369 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/1.344, allocations: 118.3 kB / 1.369 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001899/1.346, allocations: 1.496 MB / 1.37 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002924/1.349, allocations: 2.586 MB / 1.373 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/1.349, allocations: 7.719 kB / 1.373 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/1.349, allocations: 7.781 kB / 1.373 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/1.349, allocations: 62.02 kB / 1.373 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007624/1.357, allocations: 9.555 MB / 1.382 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.576e-05/1.357, allocations: 165.1 kB / 1.382 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/1.357, allocations: 84.08 kB / 1.382 GB, free: 23.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/1.357, allocations: 79.22 kB / 1.382 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/1.357, allocations: 120.8 kB / 1.382 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/1.357, allocations: 0 / 1.382 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001016/1.357, allocations: 52.83 kB / 1.383 GB, free: 23.1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/1.357, allocations: 53.52 kB / 1.383 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005032/1.358, allocations: 0.5201 MB / 1.383 GB, free: 22.88 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.373e-06/1.358, allocations: 25.7 kB / 1.383 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/1.358, allocations: 0.7504 MB / 1.384 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/1.358, allocations: 3.125 kB / 1.384 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-07/1.358, allocations: 0 / 1.384 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.358, allocations: 351.3 kB / 1.384 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.537e-06/1.358, allocations: 0 / 1.384 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/1.358, allocations: 3.938 kB / 1.384 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.279e-05/1.358, allocations: 79.09 kB / 1.384 GB, free: 22.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.901e-05/1.358, allocations: 75.28 kB / 1.384 GB, free: 21.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6e-05/1.358, allocations: 64.25 kB / 1.384 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/1.358, allocations: 79.16 kB / 1.384 GB, free: 21.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.961e-05/1.358, allocations: 79.31 kB / 1.385 GB, free: 21.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.94e-05/1.358, allocations: 164.5 kB / 1.385 GB, free: 21.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.501e-05/1.358, allocations: 75.28 kB / 1.385 GB, free: 21.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-05/1.358, allocations: 150.6 kB / 1.385 GB, free: 21.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.362e-05/1.359, allocations: 79.22 kB / 1.385 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/1.359, allocations: 81.22 kB / 1.385 GB, free: 21.25 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.0001313/1.359, allocations: 258.7 kB / 1.385 GB, free: 20.99 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.025e-05/1.359, allocations: 168.4 kB / 1.385 GB, free: 20.83 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.471e-05/1.359, allocations: 132 kB / 1.386 GB, free: 20.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.474e-05/1.359, allocations: 143.5 kB / 1.386 GB, free: 20.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-05/1.359, allocations: 180.2 kB / 1.386 GB, free: 20.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.988e-05/1.359, allocations: 178.5 kB / 1.386 GB, free: 20.22 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.569e-05/1.359, allocations: 186.9 kB / 1.386 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007867/1.36, allocations: 0.953 MB / 1.387 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.108e-05/1.36, allocations: 104.9 kB / 1.387 GB, free: 19.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-05/1.36, allocations: 107 kB / 1.387 GB, free: 19.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-05/1.36, allocations: 184.4 kB / 1.388 GB, free: 19.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.724e-05/1.36, allocations: 180.3 kB / 1.388 GB, free: 19.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.3e-05/1.36, allocations: 182.4 kB / 1.388 GB, free: 18.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.153e-05/1.36, allocations: 196 kB / 1.388 GB, free: 18.65 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/1.361, allocations: 332.2 kB / 1.388 GB, free: 18.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/1.361, allocations: 211.4 kB / 1.389 GB, free: 18.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.769e-05/1.361, allocations: 180.3 kB / 1.389 GB, free: 17.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.483e-05/1.361, allocations: 101 kB / 1.389 GB, free: 17.81 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/1.361, allocations: 188 kB / 1.389 GB, free: 17.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/1.361, allocations: 103.4 kB / 1.389 GB, free: 17.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002508/1.361, allocations: 298.2 kB / 1.389 GB, free: 17.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.361, allocations: 0 / 1.389 GB, free: 17.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000542/1.362, allocations: 198 kB / 1.39 GB, free: 17.37 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.0004365/1.362, allocations: 0.8454 MB / 1.39 GB, free: 16.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 3.626e-05/1.362, allocations: 3.938 kB / 1.39 GB, free: 16.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/1.362, allocations: 0 / 1.39 GB, free: 16.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/1.362, allocations: 3.844 kB / 1.39 GB, free: 16.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/1.363, allocations: 0.5357 MB / 1.391 GB, free: 16.01 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/1.365, allocations: 2.021 MB / 1.393 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/1.367, allocations: 1.437 MB / 1.394 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.511e-05/1.367, allocations: 8.391 kB / 1.394 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005189/1.367, allocations: 0.4885 MB / 1.395 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.367, allocations: 0 / 1.395 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03593/1.403, allocations: 10.24 MB / 1.405 GB, free: 9.539 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/1.403, allocations: 176.1 kB / 1.405 GB, free: 9.352 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/3.61, allocations: 2.391 kB / 1.405 GB, free: 9.352 MB / 0.8386 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