Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001574/0.001574, allocations: 109.1 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.001826/0.001826, 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.501/1.501, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 71.89 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9168/0.9182, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002358/0.9206, allocations: 0.8627 MB / 1.168 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.9221, allocations: 0.8881 MB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.795e-05/0.9222, allocations: 0 / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.104e-05/0.9223, allocations: 7.875 kB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.9225, allocations: 27.73 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.9227, allocations: 39.94 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.9229, allocations: 115.7 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.9231, allocations: 17.11 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.9233, allocations: 63.77 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.9234, allocations: 51.77 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.9234, allocations: 8 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.103e-05/0.9235, allocations: 8 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.9235, allocations: 31.89 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.792e-05/0.9236, allocations: 51.67 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.9238, allocations: 111.4 kB / 1.17 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.9238, allocations: 0 / 1.17 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.674e-06/0.9238, allocations: 0 / 1.17 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.9238, allocations: 0 / 1.17 GB, free: 1.566 MB / 0.8887 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.0008545/0.9247, allocations: 448.8 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.9247, allocations: 12.92 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/0.9248, allocations: 12.75 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005901/0.9254, allocations: 260.1 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.9254, allocations: 4.375 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.9255, allocations: 8.375 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.9258, allocations: 116.7 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.9258, allocations: 3.938 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.9258, allocations: 4 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.9258, allocations: 11.92 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.9261, allocations: 71.92 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007271/0.9269, allocations: 0.4932 MB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.9272, allocations: 111.8 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.9274, allocations: 58.61 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.9274, allocations: 0 / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.9274, allocations: 42.44 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.9274, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0006668/0.9281, allocations: 161.3 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.9282, allocations: 110.8 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.9283, allocations: 148.8 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.9284, allocations: 33.7 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.676e-05/0.9284, allocations: 100.4 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.9285, allocations: 27.89 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.9285, allocations: 29.72 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.9287, allocations: 326.8 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.9289, allocations: 39.95 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.9291, allocations: 85.06 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.9294, allocations: 90.5 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.9294, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003798/0.9298, allocations: 149.4 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.9298, allocations: 4 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.9298, allocations: 0 / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.9298, allocations: 0 / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.93, allocations: 23.92 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.93, allocations: 3.984 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.9301, allocations: 19.98 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.9301, allocations: 0 / 1.172 GB, free: 14.3 MB / 0.9044 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.0001205/0.9303, allocations: 130.7 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.9303, allocations: 12.14 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.9306, allocations: 97.81 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.9306, allocations: 0 / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.9307, allocations: 3.984 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.9307, allocations: 85.02 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.9308, allocations: 4 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.931, allocations: 27.86 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/0.9311, allocations: 23.95 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005287/0.9316, allocations: 363.4 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005224/0.9321, allocations: 449.2 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001773/0.9323, allocations: 47.98 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.634e-05/0.9324, allocations: 109.9 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of Backend: time 5.51e-07/0.9324, allocations: 0 / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007375/0.9332, allocations: 150.2 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007139/0.9339, allocations: 0.6316 MB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of Templates: time 0.004671/0.9386, allocations: 1.526 MB / 1.176 GB, free: 10.56 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches