Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",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.566/2.566, 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.001341/0.001342, allocations: 184.8 kB / 487.4 MB, free: 5.035 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.559/1.559, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 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.0009247/0.0009247, allocations: 91.7 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.125e-05/3.129e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3352, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.369, allocations: 149.2 MB / 1.352 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/1.369, allocations: 71.06 kB / 1.352 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01317/1.383, allocations: 4.316 MB / 1.356 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.964e-06/1.383, allocations: 0 / 1.356 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.062e-05/1.383, allocations: 3.844 kB / 1.356 GB, free: 33.91 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006976/1.383, allocations: 0.5198 MB / 1.357 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/1.384, allocations: 7.688 kB / 1.357 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.259e-05/1.384, allocations: 31.25 kB / 1.357 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/1.384, allocations: 198.4 kB / 1.357 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/1.384, allocations: 7.781 kB / 1.357 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/1.384, allocations: 14.97 kB / 1.357 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001369/1.384, allocations: 52.09 kB / 1.357 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/1.384, allocations: 109.8 kB / 1.357 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.384, allocations: 3.844 kB / 1.357 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/1.384, allocations: 7.953 kB / 1.357 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.384, allocations: 4 kB / 1.357 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007081/1.385, allocations: 0.6526 MB / 1.358 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/1.385, allocations: 127.9 kB / 1.358 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.608e-05/1.385, allocations: 49.36 kB / 1.358 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/1.385, allocations: 4 kB / 1.358 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/1.386, allocations: 141.8 kB / 1.358 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/1.386, allocations: 0 / 1.358 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0003124/1.386, allocations: 133.6 kB / 1.358 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/1.386, allocations: 113.8 kB / 1.358 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/1.386, allocations: 162.1 kB / 1.358 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/1.386, allocations: 36.2 kB / 1.358 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/1.386, allocations: 121.9 kB / 1.359 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/1.386, allocations: 37.23 kB / 1.359 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/1.386, allocations: 3.125 kB / 1.359 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.387, allocations: 330.7 kB / 1.359 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/1.387, allocations: 81.33 kB / 1.359 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/1.387, allocations: 153.3 kB / 1.359 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/1.387, allocations: 97.58 kB / 1.359 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.387, allocations: 3.953 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006108/1.388, allocations: 284.3 kB / 1.359 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.409e-05/1.388, allocations: 72.97 kB / 1.36 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.388, allocations: 0 / 1.36 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/1.388, allocations: 3.969 kB / 1.36 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/1.388, allocations: 32.61 kB / 1.36 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/1.388, allocations: 3.812 kB / 1.36 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004449/1.389, allocations: 105.4 kB / 1.36 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/1.389, allocations: 18.47 kB / 1.36 GB, free: 31.6 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition4,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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.0001089/1.389, allocations: 115.9 kB / 1.36 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001827/1.389, allocations: 135.9 kB / 1.36 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/1.389, allocations: 15.47 kB / 1.36 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/1.389, allocations: 79.61 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.389, allocations: 0 / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/1.389, allocations: 7.875 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.389, allocations: 1.406 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/1.39, allocations: 218.7 kB / 1.36 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/1.39, allocations: 3.906 kB / 1.36 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.063e-05/1.39, allocations: 19.06 kB / 1.36 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/1.39, allocations: 3.812 kB / 1.36 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/1.39, allocations: 2.625 kB / 1.36 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/1.39, allocations: 3.875 kB / 1.36 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.39, allocations: 3.938 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/1.39, allocations: 197 kB / 1.36 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/1.39, allocations: 101.9 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/1.39, allocations: 0 / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/1.39, allocations: 25.7 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/1.39, allocations: 28.97 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/1.39, allocations: 9.469 kB / 1.361 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001381/1.39, allocations: 140.9 kB / 1.361 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.39, allocations: 0 / 1.361 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003119/1.391, allocations: 47.78 kB / 1.361 GB, free: 30.89 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007901/1.391, allocations: 0.88 MB / 1.362 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004603/1.392, allocations: 308.6 kB / 1.362 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.392, allocations: 0 / 1.362 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/1.392, allocations: 57.39 kB / 1.362 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/1.392, allocations: 44.33 kB / 1.362 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/1.393, allocations: 242.5 kB / 1.362 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/1.393, allocations: 0.7298 MB / 1.363 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.88e-05/1.393, allocations: 16.11 kB / 1.363 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.585e-05/1.393, allocations: 59.77 kB / 1.363 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.393, allocations: 0 / 1.363 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/1.415, allocations: 4.239 MB / 1.367 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/1.415, allocations: 159.3 kB / 1.367 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/3.085, allocations: 0 / 1.367 GB, free: 28.59 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis_res.mat does not exist to compare? outputFormat=mat