Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002235/0.002235, allocations: 209.8 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.59/1.59, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.327/3.327, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002769/0.002769, allocations: 73.98 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3774, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002482/0.3799, allocations: 0.8224 MB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.3813, allocations: 0.9249 MB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.744e-05/0.3814, allocations: 0 / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.571e-05/0.3814, allocations: 7.875 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.3815, allocations: 19.75 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.3818, allocations: 39.92 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.3819, allocations: 115.6 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.3821, allocations: 21.28 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.3823, allocations: 55.84 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.638e-05/0.3824, allocations: 59.75 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.3824, allocations: 8 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.175e-05/0.3824, allocations: 16 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.149e-05/0.3825, allocations: 23.91 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.871e-05/0.3825, allocations: 39.8 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.3827, allocations: 135.3 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3827, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3827, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3827, allocations: 4 kB / 1.329 GB, free: 14.65 MB / 1.029 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.0007379/0.3835, allocations: 369.7 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3835, allocations: 8.031 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.3838, allocations: 28.88 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/0.3844, allocations: 195.1 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.3844, allocations: 8.375 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.3844, allocations: 8.359 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.3847, allocations: 121.4 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3847, allocations: 3.938 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.3848, allocations: 7.984 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.3848, allocations: 4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.3851, allocations: 71.88 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.3857, allocations: 428.8 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.3859, allocations: 115.8 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.3861, allocations: 62.48 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.3861, allocations: 4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.3862, allocations: 38.55 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.3862, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0006155/0.3868, allocations: 153.4 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.763e-05/0.3869, allocations: 119 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.3871, allocations: 144.3 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.3871, allocations: 33.7 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.78e-05/0.3872, allocations: 108.2 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.3872, allocations: 31.84 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.326e-05/0.3873, allocations: 25.72 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.3875, allocations: 326.8 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.3877, allocations: 39.95 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.3879, allocations: 166.2 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.3882, allocations: 94.39 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3882, allocations: 4 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003697/0.3886, allocations: 133.8 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.3886, allocations: 5.875 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3886, allocations: 8 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.3887, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.3888, allocations: 19.97 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3888, allocations: 4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.3889, allocations: 19.94 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.389, allocations: 7.984 kB / 1.332 GB, free: 11.52 MB / 1.029 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.0001259/0.3891, allocations: 131.4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.3892, allocations: 11.95 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.3894, allocations: 89.98 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3894, allocations: 0 / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3894, allocations: 0 / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.3895, allocations: 11.91 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.3895, allocations: 4 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.3897, allocations: 15.98 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.216e-05/0.3898, allocations: 31.88 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005357/0.3903, allocations: 363.3 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005262/0.3908, allocations: 445.2 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001648/0.391, allocations: 51.95 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.703e-05/0.3911, allocations: 114.5 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of Backend: time 8.62e-07/0.3911, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007399/0.3918, allocations: 138.3 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007685/0.3926, allocations: 0.6275 MB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of Templates: time 0.005767/0.3984, allocations: 1.803 MB / 1.336 GB, free: 7.637 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.483917409001151]