Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001775/0.001775, 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.002064/0.002064, allocations: 211.9 kB / 22.24 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.629/1.629, allocations: 230.6 MB / 256 MB, free: 7.789 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.439/3.439, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 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.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [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.002121/0.002121, allocations: 62.06 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4676/0.4697, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.00339/0.4731, allocations: 0.7009 MB / 1.326 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.4748, allocations: 0.8549 MB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.91e-05/0.4749, allocations: 0 / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.841e-05/0.4749, allocations: 3.938 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.475, allocations: 15.88 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.4753, allocations: 23.95 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.4754, allocations: 35.92 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.4755, allocations: 11.98 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.4756, allocations: 27.92 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.638e-05/0.4757, allocations: 23.91 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.4758, allocations: 4 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.633e-05/0.4758, allocations: 4 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.4758, allocations: 11.98 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.4759, allocations: 15.81 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.476, allocations: 55.78 kB / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.476, allocations: 0 / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.766e-06/0.476, allocations: 0 / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.476, allocations: 0 / 1.327 GB, free: 48 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007259/0.4767, allocations: 286.2 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.4768, allocations: 8.031 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/0.4769, allocations: 8.875 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.4771, allocations: 114.4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.4771, allocations: 384 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.4771, allocations: 4.375 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.4774, allocations: 73.58 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.4774, allocations: 7.938 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.4774, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4774, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.4777, allocations: 51.95 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.4782, allocations: 224.5 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.4785, allocations: 70.41 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.4787, allocations: 24.92 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.4787, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.4787, allocations: 42.55 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.4787, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0005405/0.4793, allocations: 105.8 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.4793, allocations: 55.41 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.4794, allocations: 109.8 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.4795, allocations: 25.7 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/0.4795, allocations: 88.08 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.4796, allocations: 15.84 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.4796, allocations: 21.7 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4798, allocations: 318.8 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.4799, allocations: 27.97 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.48, allocations: 23.97 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.4803, allocations: 52.81 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4803, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003298/0.4806, allocations: 81.64 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.4807, allocations: 8 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.4807, allocations: 4 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.4807, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.4808, allocations: 15.92 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.4808, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.637e-05/0.4809, allocations: 7.984 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.481, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001362/0.4811, allocations: 118.3 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.4811, allocations: 7.953 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.4812, allocations: 11.98 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4812, allocations: 4 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4812, allocations: 0 / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4812, allocations: 0 / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.4814, allocations: 117.2 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4814, allocations: 3.938 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.4815, allocations: 23.92 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4815, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.4815, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4815, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4815, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.4819, allocations: 191.3 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.4819, allocations: 4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.482, allocations: 3.984 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.4821, allocations: 4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.464e-05/0.4822, allocations: 11.98 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.4822, allocations: 3.984 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.726e-05/0.4822, allocations: 91.58 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4822, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003115/0.4825, allocations: 8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001603/0.4827, allocations: 99.25 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003375/0.483, allocations: 55.94 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.483, allocations: 3.938 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.4832, allocations: 32.25 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.4837, allocations: 3.938 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005824/0.4843, allocations: 133.6 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.4844, allocations: 67.44 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.835e-05/0.4844, allocations: 4 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.4845, allocations: 15.42 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of SimCode: time 8.82e-07/0.4845, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of Templates: time 0.005603/0.4901, allocations: 0.9591 MB / 1.331 GB, free: 11.96 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.880728147923946]