Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001526/0.001526, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002087/0.002087, allocations: 214.4 kB / 22.25 MB, free: 5.242 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.663/1.663, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3/3, allocations: 476 MB / 0.7699 GB, free: 4.688 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00221/0.00221, allocations: 67.31 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3929, allocations: 169.9 MB / 1.283 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002251/0.3952, allocations: 0.8175 MB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3965, allocations: 0.9172 MB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.347e-05/0.3966, allocations: 4 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.83e-05/0.3966, allocations: 7.875 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.3967, allocations: 15.8 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.397, allocations: 47.88 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.3972, allocations: 111.7 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3973, allocations: 25.3 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.3975, allocations: 59.78 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.3976, allocations: 51.73 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.3976, allocations: 12 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.069e-05/0.3977, allocations: 16 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.3977, allocations: 23.92 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.723e-05/0.3978, allocations: 39.78 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.398, allocations: 127.4 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.398, allocations: 0 / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.194e-06/0.398, allocations: 3.938 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.398, allocations: 0 / 1.285 GB, free: 9.547 MB / 0.9825 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.000752/0.3988, allocations: 373.7 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3988, allocations: 8.031 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.3991, allocations: 32.86 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004997/0.3996, allocations: 194.4 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.3996, allocations: 8.375 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.3996, allocations: 4.375 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.3999, allocations: 116.8 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3999, allocations: 7.875 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.4, allocations: 4 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4, allocations: 0 / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.4002, allocations: 75.92 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006563/0.4009, allocations: 436.7 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.4012, allocations: 103.8 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.4013, allocations: 56.38 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.4014, allocations: 8 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.4014, allocations: 34.5 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.4014, allocations: 0 / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006182/0.402, allocations: 165.4 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.637e-05/0.4021, allocations: 106.8 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.4022, allocations: 145.6 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.4023, allocations: 37.69 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.4024, allocations: 108.4 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.4024, allocations: 31.73 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.4025, allocations: 33.7 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4026, allocations: 326.8 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.4028, allocations: 35.97 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.403, allocations: 166.2 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.4033, allocations: 90.52 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4033, allocations: 0 / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003757/0.4037, allocations: 141.7 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.4037, allocations: 4 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4037, allocations: 4 kB / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4037, allocations: 4 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.4038, allocations: 19.92 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.4039, allocations: 4 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.404, allocations: 23.92 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.404, allocations: 4 kB / 1.288 GB, free: 6.422 MB / 0.9825 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.0001195/0.4041, allocations: 119.3 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.4042, allocations: 15.95 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.4045, allocations: 89.92 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.4045, allocations: 7.938 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.4045, allocations: 64 / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4045, allocations: 4 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.4047, allocations: 137.2 kB / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4047, allocations: 0 / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.4048, allocations: 19.97 kB / 1.288 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.4049, allocations: 4 kB / 1.288 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.4049, allocations: 7.938 kB / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4049, allocations: 4 kB / 1.288 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4049, allocations: 4 kB / 1.288 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004844/0.4054, allocations: 377.8 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.4054, allocations: 11.89 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.4054, allocations: 4 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.4056, allocations: 11.98 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/0.4057, allocations: 31.95 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.4057, allocations: 7.984 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.762e-05/0.4058, allocations: 104.3 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4058, allocations: 0 / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003207/0.4061, allocations: 20 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001523/0.4063, allocations: 103.2 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003958/0.4066, allocations: 103.9 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4066, allocations: 0 / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.4068, allocations: 43.97 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.4073, allocations: 20.31 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.4078, allocations: 199.5 kB / 1.289 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.4079, allocations: 88.31 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.998e-05/0.408, allocations: 17.06 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/0.408, allocations: 23.42 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.408, allocations: 0 / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of Templates: time 0.004848/0.4129, allocations: 1.483 MB / 1.291 GB, free: 3.289 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.83074451610446]