Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.001999/0.001999, 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.002478/0.002478, allocations: 213 kB / 22.25 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.598/1.598, allocations: 230.6 MB / 256 MB, free: 7.793 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 2.942/2.942, allocations: 476 MB / 0.7699 GB, free: 4.777 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.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less") [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.002157/0.002157, allocations: 69.3 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.417, allocations: 170 MB / 1.283 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003759/0.4208, allocations: 1.975 MB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002574/0.4234, allocations: 1.289 MB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.4235, allocations: 7.938 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004859/0.424, allocations: 163.4 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005409/0.4246, allocations: 203.2 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.4251, allocations: 167.6 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.4255, allocations: 335.1 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.4257, allocations: 36.86 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.4259, allocations: 151.4 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.4262, allocations: 167.3 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/0.4263, allocations: 23.94 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.4265, allocations: 51.98 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.4266, allocations: 99.59 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.4268, allocations: 99.33 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004999/0.4273, allocations: 386.3 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4273, allocations: 4 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4273, allocations: 0 / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.4273, allocations: 0 / 1.288 GB, free: 6.77 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001112/0.4284, allocations: 0.5741 MB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.4284, allocations: 12.03 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/0.4285, allocations: 40.7 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005804/0.4291, allocations: 316.5 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.4291, allocations: 8 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.4291, allocations: 8 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.4294, allocations: 113.5 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4294, allocations: 3.938 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.4294, allocations: 4 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.4295, allocations: 4 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.4297, allocations: 62.45 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000884/0.4305, allocations: 436.2 kB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.4309, allocations: 130.7 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.431, allocations: 52.77 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.4311, allocations: 4 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002688/0.4313, allocations: 111.3 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.4313, allocations: 4 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005871/0.4319, allocations: 243.7 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.432, allocations: 51.41 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006895/0.4327, allocations: 0.5327 MB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.4327, allocations: 29.69 kB / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.4328, allocations: 172.4 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.4329, allocations: 39.73 kB / 1.291 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.433, allocations: 69.92 kB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.4332, allocations: 350.8 kB / 1.291 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.4334, allocations: 104.5 kB / 1.291 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.4337, allocations: 143.6 kB / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.4341, allocations: 188.3 kB / 1.292 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.4341, allocations: 4 kB / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000596/0.4347, allocations: 329.3 kB / 1.292 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.4347, allocations: 4 kB / 1.292 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4347, allocations: 7.922 kB / 1.292 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.4347, allocations: 7.938 kB / 1.292 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.4349, allocations: 59.97 kB / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.435, allocations: 0 / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.4351, allocations: 15.95 kB / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.4351, allocations: 11.98 kB / 1.292 GB, free: 2.395 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: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002176/0.4354, allocations: 181.7 kB / 1.292 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.4354, allocations: 35.77 kB / 1.292 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.4359, allocations: 220.6 kB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.4359, allocations: 8 kB / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4359, allocations: 0 / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4359, allocations: 0 / 1.293 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.4362, allocations: 233.1 kB / 1.293 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4362, allocations: 0 / 1.293 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.37e-05/0.4363, allocations: 15.98 kB / 1.293 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4363, allocations: 0 / 1.293 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.4363, allocations: 4 kB / 1.293 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.4363, allocations: 3.938 kB / 1.293 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4363, allocations: 0 / 1.293 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.4367, allocations: 228.7 kB / 1.293 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.4369, allocations: 47.75 kB / 1.293 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.4369, allocations: 4 kB / 1.293 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.437, allocations: 11.92 kB / 1.293 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/0.4371, allocations: 23.97 kB / 1.293 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.4371, allocations: 4 kB / 1.293 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004137/0.4375, allocations: 327.1 kB / 1.293 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.4375, allocations: 0 / 1.293 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003221/0.4379, allocations: 67.88 kB / 1.293 GB, free: 0.9492 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001789/0.4396, allocations: 452.5 kB / 1.294 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.4401, allocations: 191.8 kB / 1.294 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4401, allocations: 0 / 1.294 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.4403, allocations: 67.95 kB / 1.294 GB, free: 440 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.4408, allocations: 88.52 kB / 1.294 GB, free: 360 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.4419, allocations: 0.553 MB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.4421, allocations: 191.9 kB / 1.295 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.4423, allocations: 62.92 kB / 1.295 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.901e-05/0.4424, allocations: 35.42 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/0.4424, allocations: 0 / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of Templates: time 0.0108/0.4532, allocations: 4.74 MB / 1.3 GB, free: 10.8 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.867300052195787]