Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 110.9 kB / 16.42 MB, free: 6.516 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.001665/0.001666, allocations: 187.9 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.471/1.471, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 67.91 kB / 1.055 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9281/0.9296, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002043/0.9317, allocations: 0.844 MB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.9328, allocations: 0.8856 MB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/0.9329, allocations: 0 / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.9329, allocations: 7.875 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.604e-05/0.933, allocations: 23.8 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.9332, allocations: 39.88 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.9334, allocations: 111.7 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.9335, allocations: 25.11 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.9336, allocations: 51.78 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.781e-05/0.9337, allocations: 63.73 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.9338, allocations: 8 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.038e-05/0.9338, allocations: 8 kB / 1.211 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.12e-05/0.9338, allocations: 23.92 kB / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.934, allocations: 59.64 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.9341, allocations: 119.4 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.9341, allocations: 0 / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9341, allocations: 0 / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.9342, allocations: 0 / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007025/0.9349, allocations: 436.8 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.9349, allocations: 12.03 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.935, allocations: 20.75 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005008/0.9355, allocations: 262.5 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.9355, allocations: 12.38 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.9355, allocations: 4.375 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.9358, allocations: 112.8 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.9358, allocations: 3.938 kB / 1.212 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.9359, allocations: 8 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.9359, allocations: 0 / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.9362, allocations: 75.86 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006648/0.9368, allocations: 497.1 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.9371, allocations: 111.8 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.9373, allocations: 62.58 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.9373, allocations: 4 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.9373, allocations: 38.56 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.9373, allocations: 0 / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0006416/0.938, allocations: 165.5 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.9381, allocations: 106.8 kB / 1.213 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.9382, allocations: 142.3 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.9382, allocations: 33.69 kB / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.9383, allocations: 100.4 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.9383, allocations: 31.7 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.9384, allocations: 29.64 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.9385, allocations: 334.8 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.9387, allocations: 35.97 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.9389, allocations: 81.05 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.9392, allocations: 98.45 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9392, allocations: 0 / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003561/0.9395, allocations: 137.4 kB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.9396, allocations: 7.984 kB / 1.214 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.9396, allocations: 4 kB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.9396, allocations: 0 / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.9398, allocations: 23.98 kB / 1.214 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.9398, allocations: 3.938 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.9399, allocations: 15.98 kB / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.9399, allocations: 3.984 kB / 1.214 GB, free: 8.059 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001837/0.9401, allocations: 133.7 kB / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.9402, allocations: 15.81 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.9405, allocations: 85.89 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.9405, allocations: 0 / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9405, allocations: 3.938 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.9405, allocations: 85.02 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.9406, allocations: 12.06 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.9408, allocations: 19.91 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.9409, allocations: 24.34 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005058/0.9414, allocations: 367.3 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004363/0.9418, allocations: 449.2 kB / 1.215 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001616/0.942, allocations: 47.97 kB / 1.215 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.254e-05/0.9421, allocations: 113.1 kB / 1.215 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of Backend: time 1.9e-07/0.9421, allocations: 0 / 1.215 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006581/0.9427, allocations: 141 kB / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005891/0.9433, allocations: 0.6432 MB / 1.216 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of Templates: time 0.00434/0.9477, allocations: 1.532 MB / 1.217 GB, free: 4.305 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches