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.001432/0.001432, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001739/0.001739, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.777 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.356/3.356, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.00216/0.00216, allocations: 70.44 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4659, allocations: 176.1 MB / 1.326 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002455/0.4683, allocations: 0.8183 MB / 1.326 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.4697, allocations: 0.921 MB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.879e-05/0.4698, allocations: 4 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.649e-05/0.4698, allocations: 7.875 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.4699, allocations: 15.8 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.4703, allocations: 47.98 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.4704, allocations: 111.6 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.4706, allocations: 13.31 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.4708, allocations: 67.77 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.4709, allocations: 51.75 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.471, allocations: 8 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.569e-05/0.471, allocations: 15.98 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.4711, allocations: 23.92 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.988e-05/0.4711, allocations: 35.8 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.4714, allocations: 131.4 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4714, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.093e-06/0.4714, allocations: 7.875 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.4714, allocations: 0 / 1.328 GB, free: 15.52 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.0008013/0.4722, allocations: 377.7 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4723, allocations: 8.031 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.4725, allocations: 32.86 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.473, allocations: 191.1 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.4731, allocations: 4.375 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.4731, allocations: 8.375 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.4734, allocations: 123.3 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4734, allocations: 3.938 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.4734, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.4734, allocations: 4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.4737, allocations: 75.92 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/0.4745, allocations: 432.7 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.4748, allocations: 115.8 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.4749, allocations: 58.58 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.475, allocations: 8 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.475, allocations: 42.5 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.475, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0006147/0.4756, allocations: 153.4 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/0.4757, allocations: 111 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.4759, allocations: 149.5 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.4759, allocations: 33.7 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.996e-05/0.476, allocations: 108.2 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.476, allocations: 27.78 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.4761, allocations: 33.64 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.4763, allocations: 330.7 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.4764, allocations: 39.97 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.4767, allocations: 166.2 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.4769, allocations: 86.52 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.477, allocations: 3.938 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003574/0.4773, allocations: 133.5 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.4773, allocations: 13.55 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4773, allocations: 4 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4774, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.4775, allocations: 15.98 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.4775, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.4776, allocations: 15.94 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.4777, allocations: 11.98 kB / 1.331 GB, free: 12.39 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.0001482/0.4778, allocations: 122.3 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.4779, allocations: 11.95 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.4781, allocations: 93.92 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4781, allocations: 3.938 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4781, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4782, allocations: 4 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.4785, allocations: 141.2 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4785, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.4786, allocations: 23.97 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4786, allocations: 384 / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4786, allocations: 4 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.4786, allocations: 12 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4786, allocations: 0 / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005532/0.4791, allocations: 369.9 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.4792, allocations: 15.88 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.4792, allocations: 7.938 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.4794, allocations: 15.98 kB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.4795, allocations: 23.95 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.4795, allocations: 7.984 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001031/0.4796, allocations: 109.7 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4796, allocations: 4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003183/0.4799, allocations: 15.95 kB / 1.332 GB, free: 11.35 MB / 1.029 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.0002042/0.4802, allocations: 107.2 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004046/0.4806, allocations: 99.86 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4806, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.4807, allocations: 43.91 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005514/0.4813, allocations: 19.94 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000576/0.4819, allocations: 195.5 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.482, allocations: 88.31 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.207e-05/0.4821, allocations: 16.64 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.888e-05/0.4821, allocations: 15.44 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.4821, allocations: 0 / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of Templates: time 0.006621/0.4887, allocations: 1.488 MB / 1.334 GB, free: 9.242 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/jenkins/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.78171301074326]