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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 106.6 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002161/0.002161, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 64.09 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.043, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.002237/1.045, allocations: 1.034 MB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001499/1.047, allocations: 1.312 MB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.693e-05/1.047, allocations: 1.969 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.638e-05/1.047, allocations: 17.58 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/1.047, allocations: 33.58 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007142/1.048, allocations: 272.7 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003795/1.048, allocations: 344.2 kB / 1.092 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/1.048, allocations: 41.91 kB / 1.092 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/1.049, allocations: 120.7 kB / 1.092 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/1.049, allocations: 122.2 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.887e-05/1.049, allocations: 32.22 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/1.049, allocations: 46.44 kB / 1.092 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/1.049, allocations: 40.88 kB / 1.092 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001362/1.049, allocations: 121.9 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004783/1.05, allocations: 333.6 kB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.05, allocations: 7.938 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.554e-06/1.05, allocations: 0 / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.05, allocations: 1.094 kB / 1.092 GB, free: 3.184 MB / 0.8575 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.0009052/1.051, allocations: 0.5592 MB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/1.051, allocations: 7.906 kB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.729e-05/1.051, allocations: 27.97 kB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007877/1.052, allocations: 310.5 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/1.052, allocations: 12.16 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.84e-05/1.052, allocations: 19.81 kB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/1.052, allocations: 131.8 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/1.052, allocations: 3.938 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/1.052, allocations: 1.828 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/1.052, allocations: 2.219 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/1.052, allocations: 78.59 kB / 1.094 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007636/1.053, allocations: 0.641 MB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/1.054, allocations: 136.8 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/1.054, allocations: 54.48 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/1.054, allocations: 2.125 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002758/1.054, allocations: 150.1 kB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.604e-06/1.054, allocations: 0 / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0006029/1.055, allocations: 207.3 kB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/1.055, allocations: 109.8 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/1.055, allocations: 194 kB / 1.095 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/1.055, allocations: 41.5 kB / 1.095 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/1.055, allocations: 128.1 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/1.055, allocations: 40.05 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/1.055, allocations: 61.02 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.697e-05/1.055, allocations: 328.8 kB / 1.096 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/1.055, allocations: 90.66 kB / 1.096 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/1.056, allocations: 161.5 kB / 1.096 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/1.056, allocations: 230.7 kB / 1.096 GB, free: 340 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.056, allocations: 0.8438 kB / 1.096 GB, free: 340 kB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000705/1.057, allocations: 346.4 kB / 1.096 GB, free: 156 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/1.057, allocations: 67.39 kB / 1.096 GB, free: 88 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/1.057, allocations: 6.438 kB / 1.096 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/1.057, allocations: 3.031 kB / 1.096 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/1.057, allocations: 27.77 kB / 1.096 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/1.057, allocations: 3.125 kB / 1.096 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/1.057, allocations: 69.14 kB / 1.097 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/1.058, allocations: 18.19 kB / 1.097 GB, free: 56 kB / 0.8575 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,pul.booPul.y,$PRE.pul.booPul.y,hysteresis1.y,$PRE.hysteresis1.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,hysteresis2.y,$PRE.hysteresis2.y,hysteresis.y,$PRE.hysteresis.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001815/1.058, allocations: 142.4 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/1.058, allocations: 16.16 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/1.058, allocations: 91.06 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/1.058, allocations: 3.047 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.058, allocations: 0 / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/1.058, allocations: 99.41 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/1.058, allocations: 7.453 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/1.058, allocations: 10.22 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/1.058, allocations: 29.45 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005485/1.059, allocations: 390.7 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005165/1.06, allocations: 478.3 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001783/1.06, allocations: 65.86 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001462/1.06, allocations: 144.2 kB / 1.098 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of Backend: time 2.5e-07/1.06, allocations: 0 / 1.098 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001011/1.061, allocations: 360.1 kB / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0008456/1.062, allocations: 0.7401 MB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of Templates: time 0.008636/1.07, allocations: 3.413 MB / 1.102 GB, free: 13.73 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches