Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001857/0.001857, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.002563/0.002563, allocations: 173.9 kB / 22.46 MB, free: 5.355 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.534/1.534, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.053/3.053, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.646e-05, allocations: 6.281 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003356/0.003382, allocations: 1.981 MB / 1.002 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002395/0.005777, allocations: 1.285 MB / 1.003 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.005882, allocations: 4 kB / 1.003 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004547/0.006337, allocations: 163.2 kB / 1.003 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.00682, allocations: 223 kB / 1.004 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.007169, allocations: 159.5 kB / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004304/0.0076, allocations: 343 kB / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.007743, allocations: 32.92 kB / 1.004 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.008027, allocations: 191.5 kB / 1.004 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.008249, allocations: 143.6 kB / 1.005 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.00829, allocations: 16 kB / 1.005 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.008436, allocations: 63.8 kB / 1.005 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.008575, allocations: 95.67 kB / 1.005 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.00868, allocations: 75.7 kB / 1.005 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000494/0.009174, allocations: 382.7 kB / 1.005 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.009179, allocations: 4 kB / 1.005 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.32e-07/0.00918, allocations: 0 / 1.005 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.009185, allocations: 0 / 1.005 GB, free: 2.164 MB / 0.9512 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.00106/0.01025, allocations: 0.5663 MB / 1.006 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.01028, allocations: 12.03 kB / 1.006 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.431e-05/0.01038, allocations: 36.7 kB / 1.006 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/0.01091, allocations: 324.1 kB / 1.006 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.01093, allocations: 12.11 kB / 1.006 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.01096, allocations: 12 kB / 1.006 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.01123, allocations: 107.9 kB / 1.006 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.01124, allocations: 0 / 1.006 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.01126, allocations: 7.984 kB / 1.006 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.01127, allocations: 4 kB / 1.006 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.01146, allocations: 63.95 kB / 1.006 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000817/0.01227, allocations: 432.1 kB / 1.007 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.01265, allocations: 134.8 kB / 1.007 GB, free: 384 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.01277, allocations: 52.7 kB / 1.007 GB, free: 328 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.01279, allocations: 4 kB / 1.007 GB, free: 324 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.01304, allocations: 111.3 kB / 1.007 GB, free: 200 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.01304, allocations: 0 / 1.007 GB, free: 200 kB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0005995/0.01364, allocations: 233.4 kB / 1.007 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.0137, allocations: 59.28 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00065/0.01435, allocations: 0.5405 MB / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.01438, allocations: 29.7 kB / 1.008 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.01452, allocations: 164.5 kB / 1.008 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.01457, allocations: 43.64 kB / 1.008 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.01469, allocations: 73.91 kB / 1.008 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.01488, allocations: 350.8 kB / 1.008 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.01508, allocations: 100.5 kB / 1.008 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.01532, allocations: 135.6 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.01568, allocations: 190.5 kB / 1.009 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.01569, allocations: 0 / 1.009 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005874/0.01627, allocations: 333.3 kB / 1.009 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.01629, allocations: 4 kB / 1.009 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.0163, allocations: 0 / 1.009 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.01631, allocations: 4 kB / 1.009 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.01655, allocations: 51.91 kB / 1.009 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.01656, allocations: 7.938 kB / 1.009 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.01671, allocations: 31.94 kB / 1.009 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.01675, allocations: 12 kB / 1.009 GB, free: 13.79 MB / 0.9669 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.0002122/0.01696, allocations: 181.7 kB / 1.009 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.01701, allocations: 39.7 kB / 1.009 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004627/0.01748, allocations: 204.7 kB / 1.01 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.01748, allocations: 4 kB / 1.01 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.01749, allocations: 3.938 kB / 1.01 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.01749, allocations: 3.984 kB / 1.01 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.01776, allocations: 225.2 kB / 1.01 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.01776, allocations: 0 / 1.01 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.198e-05/0.01784, allocations: 15.98 kB / 1.01 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01785, allocations: 0 / 1.01 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.01786, allocations: 4 kB / 1.01 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01786, allocations: 3.938 kB / 1.01 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01787, allocations: 0 / 1.01 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.01829, allocations: 232.6 kB / 1.01 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.01836, allocations: 39.75 kB / 1.01 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.01841, allocations: 8 kB / 1.01 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.01852, allocations: 11.98 kB / 1.01 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/0.0186, allocations: 23.97 kB / 1.01 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.01862, allocations: 7.938 kB / 1.01 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004639/0.01908, allocations: 331.1 kB / 1.011 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.01908, allocations: 0 / 1.011 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003038/0.01939, allocations: 63.89 kB / 1.011 GB, free: 12.35 MB / 0.9669 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.00173/0.02112, allocations: 452.6 kB / 1.011 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004559/0.02157, allocations: 194.5 kB / 1.011 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.02157, allocations: 0 / 1.011 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.02174, allocations: 71.83 kB / 1.011 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.02222, allocations: 89.34 kB / 1.011 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009386/0.02316, allocations: 0.5569 MB / 1.012 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.02337, allocations: 187.9 kB / 1.012 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001325/0.02351, allocations: 58.94 kB / 1.012 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.02365, allocations: 40.48 kB / 1.012 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.02365, allocations: 0 / 1.012 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of Templates: time 0.0101/0.03375, allocations: 4.493 MB / 1.017 GB, free: 6.422 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.707722552120686]