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.001378/0.001378, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.001639/0.001639, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 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.5/1.5, allocations: 177.1 MB / 203.1 MB, free: 5.098 MB / 186.7 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.455/3.455, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 5.671e-06/5.671e-06, allocations: 3.984 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.688e-05/4.255e-05, allocations: 4.984 kB / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.004965/0.005007, allocations: 1.98 MB / 0.8795 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002908/0.007915, allocations: 1.277 MB / 0.8808 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.008125, allocations: 7.938 kB / 0.8808 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005683/0.008693, allocations: 164.3 kB / 0.881 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0007029/0.009396, allocations: 208.2 kB / 0.8812 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.009862, allocations: 168.5 kB / 0.8813 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000539/0.0104, allocations: 347 kB / 0.8816 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.01056, allocations: 29.58 kB / 0.8817 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004471/0.011, allocations: 187.5 kB / 0.8819 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/0.01131, allocations: 151 kB / 0.882 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.17e-05/0.01136, allocations: 16 kB / 0.882 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.01154, allocations: 67.83 kB / 0.8821 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.01169, allocations: 95.67 kB / 0.8822 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.01183, allocations: 71.72 kB / 0.8822 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006075/0.01244, allocations: 374.7 kB / 0.8826 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.01245, allocations: 4 kB / 0.8826 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.72e-07/0.01245, allocations: 0 / 0.8826 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.01246, allocations: 0 / 0.8826 GB, free: 1.375 MB / 0.8386 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.001336/0.01379, allocations: 0.571 MB / 0.8832 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.01384, allocations: 12.62 kB / 0.8832 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.01396, allocations: 46.02 kB / 0.8832 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006373/0.0146, allocations: 328.1 kB / 0.8835 GB, free: 384 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.01463, allocations: 8.125 kB / 0.8835 GB, free: 376 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.01466, allocations: 8.594 kB / 0.8835 GB, free: 368 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.01496, allocations: 112.2 kB / 0.8836 GB, free: 252 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.01497, allocations: 1.375 kB / 0.8836 GB, free: 252 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.01499, allocations: 4 kB / 0.8837 GB, free: 248 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.015, allocations: 4 kB / 0.8837 GB, free: 244 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.01521, allocations: 69.28 kB / 0.8837 GB, free: 176 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009906/0.0162, allocations: 428.1 kB / 0.8841 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.01662, allocations: 136.4 kB / 0.8843 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.01677, allocations: 48.83 kB / 0.8843 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.01679, allocations: 4 kB / 0.8843 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003179/0.01711, allocations: 123.2 kB / 0.8844 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.943e-06/0.01711, allocations: 0 / 0.8844 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0006918/0.0178, allocations: 236.4 kB / 0.8847 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.01786, allocations: 59.33 kB / 0.8847 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007968/0.01865, allocations: 0.5327 MB / 0.8852 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.01869, allocations: 29.7 kB / 0.8853 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.01886, allocations: 172.5 kB / 0.8854 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.01891, allocations: 31.73 kB / 0.8855 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.01905, allocations: 81.86 kB / 0.8855 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002339/0.01928, allocations: 350.8 kB / 0.8859 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.01953, allocations: 100.5 kB / 0.886 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.01979, allocations: 135.6 kB / 0.8861 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006465/0.02044, allocations: 184.8 kB / 0.8863 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.02044, allocations: 0 / 0.8863 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007085/0.02115, allocations: 357.3 kB / 0.8866 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.02117, allocations: 4 kB / 0.8866 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.02118, allocations: 0 / 0.8866 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.0212, allocations: 7.938 kB / 0.8866 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.02144, allocations: 43.97 kB / 0.8867 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.02146, allocations: 11.88 kB / 0.8867 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.02163, allocations: 23.88 kB / 0.8867 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.02166, allocations: 12 kB / 0.8867 GB, free: 12.99 MB / 0.8542 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.0002304/0.02189, allocations: 177.8 kB / 0.8869 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.02197, allocations: 43.7 kB / 0.8869 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005293/0.0225, allocations: 212.7 kB / 0.8871 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.0225, allocations: 0 / 0.8871 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.02251, allocations: 7.938 kB / 0.8871 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.02251, allocations: 4 kB / 0.8871 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.02282, allocations: 233.1 kB / 0.8874 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.02283, allocations: 0 / 0.8874 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.443e-05/0.02291, allocations: 12 kB / 0.8874 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.02292, allocations: 3.984 kB / 0.8874 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.02293, allocations: 0 / 0.8874 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.02293, allocations: 8 kB / 0.8874 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/0.02294, allocations: 3.938 kB / 0.8874 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000493/0.02344, allocations: 235.8 kB / 0.8876 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/0.02352, allocations: 39.75 kB / 0.8876 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.02356, allocations: 4 kB / 0.8876 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.02368, allocations: 11.98 kB / 0.8877 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/0.02376, allocations: 19.97 kB / 0.8877 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.02378, allocations: 11.94 kB / 0.8877 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004337/0.02422, allocations: 323.1 kB / 0.888 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02422, allocations: 0 / 0.888 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003403/0.02456, allocations: 67.92 kB / 0.8881 GB, free: 11.53 MB / 0.8542 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.002063/0.02662, allocations: 451.9 kB / 0.8885 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004835/0.0271, allocations: 187.8 kB / 0.8887 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.0271, allocations: 4 kB / 0.8887 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.0273, allocations: 59.91 kB / 0.8887 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/0.02782, allocations: 99.3 kB / 0.8888 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.02893, allocations: 0.5734 MB / 0.8894 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.02918, allocations: 187.8 kB / 0.8896 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001888/0.02937, allocations: 62.92 kB / 0.8896 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.02949, allocations: 40.48 kB / 0.8897 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of SimCode: time 8.42e-07/0.02949, allocations: 0 / 0.8897 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of Templates: time 0.01112/0.04061, allocations: 4.527 MB / 0.8941 GB, free: 5.566 MB / 0.8542 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.675413465010934]