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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 200 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.762/2.762, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=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: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 67.89 kB / 1.109 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9981/1, allocations: 168.7 MB / 1.274 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002579/1.003, allocations: 0.856 MB / 1.275 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001242/1.004, allocations: 0.8897 MB / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.713e-05/1.004, allocations: 0 / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.516e-05/1.004, allocations: 11.86 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/1.004, allocations: 23.73 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/1.005, allocations: 31.95 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/1.005, allocations: 115.7 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/1.005, allocations: 25.11 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/1.005, allocations: 51.78 kB / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/1.005, allocations: 51.75 kB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/1.005, allocations: 12 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.877e-05/1.005, allocations: 11.94 kB / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.59e-05/1.005, allocations: 27.91 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.089e-05/1.005, allocations: 51.72 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/1.005, allocations: 122.1 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.005, allocations: 0 / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.512e-06/1.005, allocations: 0 / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.342e-06/1.006, allocations: 4 kB / 1.276 GB, free: 2.109 MB / 0.9669 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.0007852/1.006, allocations: 442.8 kB / 1.277 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/1.006, allocations: 8.031 kB / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/1.006, allocations: 16.84 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005769/1.007, allocations: 260.2 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/1.007, allocations: 8.375 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/1.007, allocations: 8.375 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/1.007, allocations: 116.7 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/1.007, allocations: 3.938 kB / 1.277 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/1.007, allocations: 8 kB / 1.277 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/1.007, allocations: 4 kB / 1.277 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/1.008, allocations: 67.92 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006945/1.008, allocations: 0.4971 MB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/1.009, allocations: 111.8 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/1.009, allocations: 54.61 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/1.009, allocations: 0 / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/1.009, allocations: 42.48 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/1.009, allocations: 0 / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0006124/1.009, allocations: 157.5 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.01, allocations: 110.8 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/1.01, allocations: 145.1 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/1.01, allocations: 33.7 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.063e-05/1.01, allocations: 108.5 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/1.01, allocations: 31.91 kB / 1.278 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/1.01, allocations: 25.72 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.01, allocations: 326.8 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/1.01, allocations: 43.89 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/1.01, allocations: 85.11 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/1.011, allocations: 86.52 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.011, allocations: 4 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003978/1.011, allocations: 145.5 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.011, allocations: 7.938 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/1.011, allocations: 0 / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/1.011, allocations: 0 / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/1.011, allocations: 23.97 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/1.011, allocations: 0 / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/1.011, allocations: 27.86 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/1.011, allocations: 0 / 1.279 GB, free: 14.84 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.0001199/1.012, allocations: 128.9 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/1.012, allocations: 19.89 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/1.012, allocations: 85.84 kB / 1.279 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.012, allocations: 3.984 kB / 1.279 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.012, allocations: 4 kB / 1.279 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.012, allocations: 384 / 1.279 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/1.012, allocations: 201.6 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.012, allocations: 0 / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/1.012, allocations: 15.98 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/1.012, allocations: 4 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/1.012, allocations: 15.91 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.012, allocations: 0 / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.012, allocations: 3.938 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005072/1.013, allocations: 369.9 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/1.013, allocations: 93 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/1.013, allocations: 0 / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/1.013, allocations: 11.98 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/1.013, allocations: 31.97 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/1.013, allocations: 3.984 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001072/1.013, allocations: 117.8 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.013, allocations: 0 / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003291/1.014, allocations: 19.94 kB / 1.28 GB, free: 13.64 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.000208/1.014, allocations: 111.8 kB / 1.28 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004501/1.014, allocations: 103.8 kB / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.014, allocations: 0 / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/1.015, allocations: 47.91 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/1.015, allocations: 13.92 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006774/1.016, allocations: 227.7 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/1.016, allocations: 0.7002 MB / 1.281 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001014/1.016, allocations: 16.64 kB / 1.281 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.918e-05/1.017, allocations: 23.42 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/1.017, allocations: 0 / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of Templates: time 0.005613/1.022, allocations: 1.386 MB / 1.283 GB, free: 10.95 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.070191709790379]