Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.231/2.231, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001117/0.001117, allocations: 188.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.001026/0.001026, allocations: 87.89 kB / 0.9318 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.928e-05/3.931e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3139, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9901/1.304, allocations: 150.7 MB / 1.366 GB, free: 3.344 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/1.304, allocations: 75.14 kB / 1.366 GB, free: 3.305 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01252/1.317, allocations: 4.33 MB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.402e-06/1.317, allocations: 0 / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.463e-05/1.317, allocations: 4 kB / 1.37 GB, free: 15.55 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.0006624/1.318, allocations: 0.5242 MB / 1.371 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.318, allocations: 8.031 kB / 1.371 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.963e-05/1.318, allocations: 41.31 kB / 1.371 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.593e-05/1.318, allocations: 27.77 kB / 1.371 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/1.318, allocations: 208.3 kB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/1.318, allocations: 10.69 kB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/1.318, allocations: 14.94 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/1.318, allocations: 123.9 kB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/1.318, allocations: 7.891 kB / 1.371 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/1.318, allocations: 6.438 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/1.318, allocations: 0 / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/1.318, allocations: 61.48 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007645/1.319, allocations: 0.6795 MB / 1.372 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/1.32, allocations: 147.6 kB / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.869e-05/1.32, allocations: 45.89 kB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/1.32, allocations: 4 kB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/1.32, allocations: 155.9 kB / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/1.32, allocations: 0 / 1.372 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0003132/1.32, allocations: 138.8 kB / 1.372 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/1.32, allocations: 110.7 kB / 1.373 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/1.32, allocations: 178.6 kB / 1.373 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/1.32, allocations: 33.2 kB / 1.373 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/1.321, allocations: 118.7 kB / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/1.321, allocations: 41.64 kB / 1.373 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/1.321, allocations: 7.188 kB / 1.373 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.321, allocations: 336.3 kB / 1.373 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/1.321, allocations: 85.81 kB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/1.321, allocations: 171.3 kB / 1.374 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/1.321, allocations: 138.8 kB / 1.374 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.321, allocations: 4 kB / 1.374 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005337/1.322, allocations: 350.7 kB / 1.374 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/1.322, allocations: 66.95 kB / 1.374 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.322, allocations: 3.938 kB / 1.374 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/1.322, allocations: 4 kB / 1.374 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/1.322, allocations: 22.73 kB / 1.374 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.322, allocations: 4 kB / 1.374 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/1.323, allocations: 107 kB / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/1.323, allocations: 15.98 kB / 1.374 GB, free: 11.75 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 9.995e-05/1.323, allocations: 127.2 kB / 1.374 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/1.323, allocations: 15.72 kB / 1.374 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/1.323, allocations: 83.92 kB / 1.374 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.323, allocations: 4 kB / 1.374 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.323, allocations: 0 / 1.374 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.323, allocations: 3.984 kB / 1.374 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/1.323, allocations: 252.3 kB / 1.375 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.323, allocations: 0 / 1.375 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.958e-05/1.323, allocations: 15.98 kB / 1.375 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/1.323, allocations: 4 kB / 1.375 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/1.323, allocations: 3.438 kB / 1.375 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/1.323, allocations: 12.25 kB / 1.375 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.323, allocations: 0 / 1.375 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/1.324, allocations: 205.8 kB / 1.375 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/1.324, allocations: 92.91 kB / 1.375 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/1.324, allocations: 11.62 kB / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/1.324, allocations: 23.97 kB / 1.375 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.681e-05/1.324, allocations: 31.36 kB / 1.375 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/1.324, allocations: 15.66 kB / 1.375 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001032/1.324, allocations: 140.8 kB / 1.375 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.324, allocations: 0 / 1.375 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000266/1.324, allocations: 55.25 kB / 1.375 GB, free: 10.68 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.0006479/1.325, allocations: 0.8973 MB / 1.376 GB, free: 9.777 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004186/1.325, allocations: 316.3 kB / 1.376 GB, free: 9.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.325, allocations: 0 / 1.376 GB, free: 9.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/1.326, allocations: 66.48 kB / 1.377 GB, free: 9.473 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/1.326, allocations: 43.19 kB / 1.377 GB, free: 9.438 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/1.326, allocations: 262.9 kB / 1.377 GB, free: 9.172 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/1.327, allocations: 0.7207 MB / 1.377 GB, free: 8.426 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.842e-05/1.327, allocations: 25.48 kB / 1.378 GB, free: 8.398 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.973e-05/1.327, allocations: 54.91 kB / 1.378 GB, free: 8.371 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/1.327, allocations: 0 / 1.378 GB, free: 8.371 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/1.344, allocations: 4.787 MB / 1.382 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/1.344, allocations: 161.5 kB / 1.382 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/3.058, allocations: 0 / 1.382 GB, free: 3.551 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis_res.mat does not exist to compare? outputFormat=mat