Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001562/0.001562, allocations: 115.5 kB / 17.13 MB, free: 6.004 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.001743/0.001743, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.509/1.509, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.087/3.087, allocations: 0.49 GB / 0.7923 GB, free: 1.387 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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.002065/0.002065, allocations: 75.89 kB / 1.15 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9479/0.95, allocations: 176.1 MB / 1.322 GB, free: 25.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001854/0.9518, allocations: 0.8759 MB / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008915/0.9527, allocations: 0.9283 MB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.326e-05/0.9528, allocations: 6.906 kB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.953, allocations: 10.81 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.998e-05/0.953, allocations: 23.17 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.9532, allocations: 40.3 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.9533, allocations: 97.64 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.9534, allocations: 30.75 kB / 1.324 GB, free: 23.85 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.9536, allocations: 50.34 kB / 1.324 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.668e-05/0.9536, allocations: 44.58 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.9537, allocations: 8.25 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.455e-05/0.9537, allocations: 8.625 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.9537, allocations: 22.22 kB / 1.324 GB, free: 23.78 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.9538, allocations: 43.48 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.9539, allocations: 105.6 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9539, allocations: 3.938 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9539, allocations: 0 / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.9539, allocations: 0 / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005514/0.9545, allocations: 414.8 kB / 1.325 GB, free: 23.31 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.9545, allocations: 12.64 kB / 1.325 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.9546, allocations: 22.72 kB / 1.325 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.9549, allocations: 206.7 kB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.9549, allocations: 2.938 kB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.9549, allocations: 9.5 kB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.9551, allocations: 88.83 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.9551, allocations: 4.125 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.9551, allocations: 3.938 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.9551, allocations: 10.53 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.9554, allocations: 75.75 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.9558, allocations: 346.8 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.956, allocations: 64.23 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.9561, allocations: 32.22 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.9561, allocations: 4 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.9562, allocations: 33.19 kB / 1.326 GB, free: 22.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 2.064e-06/0.9562, allocations: 3.984 kB / 1.326 GB, free: 22.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004299/0.9566, allocations: 122.4 kB / 1.326 GB, free: 22.54 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.9566, allocations: 53.97 kB / 1.326 GB, free: 22.47 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.923e-05/0.9567, allocations: 138.9 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.9567, allocations: 25.7 kB / 1.326 GB, free: 22.33 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.9567, allocations: 108.6 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.9568, allocations: 7.953 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.9568, allocations: 26.44 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.779e-05/0.9568, allocations: 317.3 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.957, allocations: 27.78 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.9571, allocations: 34.75 kB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.9573, allocations: 51.11 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.9573, allocations: 4 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002481/0.9575, allocations: 101 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.9575, allocations: 5.875 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.9575, allocations: 192 / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.9575, allocations: 0 / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.942e-05/0.9576, allocations: 14.92 kB / 1.327 GB, free: 21.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.9576, allocations: 10.06 kB / 1.327 GB, free: 21.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.9577, allocations: 15.09 kB / 1.327 GB, free: 21.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.9578, allocations: 2.625 kB / 1.327 GB, free: 21.79 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.894e-05/0.9578, allocations: 115.8 kB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.9578, allocations: 6.828 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.9579, allocations: 14.75 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.9579, allocations: 2.781 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.9579, allocations: 3.938 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.9579, allocations: 0 / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.9581, allocations: 190.6 kB / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.9581, allocations: 0 / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.811e-05/0.9581, allocations: 15.11 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.9581, allocations: 3.938 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.9582, allocations: 0 / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.9582, allocations: 2.75 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9582, allocations: 7.875 kB / 1.327 GB, free: 21.42 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.9584, allocations: 192.2 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.9584, allocations: 88.09 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.9585, allocations: 0 / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.9586, allocations: 18.69 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.9586, allocations: 12.48 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.9587, allocations: 0 / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.326e-05/0.9587, allocations: 111.3 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9587, allocations: 4 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002419/0.9589, allocations: 14.58 kB / 1.327 GB, free: 21.07 MB / 1.061 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * 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.0001224/0.9591, allocations: 105.9 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002723/0.9593, allocations: 64.11 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.9593, allocations: 0 / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.9594, allocations: 33.7 kB / 1.328 GB, free: 20.96 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.9597, allocations: 12.94 kB / 1.328 GB, free: 20.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.9601, allocations: 216 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.9602, allocations: 0.6932 MB / 1.328 GB, free: 20.08 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.9602, allocations: 16.91 kB / 1.328 GB, free: 20.07 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.9602, allocations: 0 / 1.328 GB, free: 20.07 MB / 1.061 GB Notification: Performance of Templates: time 0.003003/0.9632, allocations: 1.124 MB / 1.33 GB, free: 19.97 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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: 11.569754854994244]