Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001427/0.001427, allocations: 78.81 kB / 19.18 MB, free: 2.516 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.001526/0.001526, allocations: 162.7 kB / 22.46 MB, free: 5.375 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.517/1.517, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.906/2.906, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.882e-05/4.196e-05, allocations: 6.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003676/0.003718, allocations: 1.983 MB / 0.9834 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002507/0.006224, allocations: 1.282 MB / 0.9846 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.006336, allocations: 3.938 kB / 0.9846 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004602/0.006797, allocations: 163.3 kB / 0.9848 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004936/0.00729, allocations: 219 kB / 0.985 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.007672, allocations: 163.4 kB / 0.9851 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005705/0.008242, allocations: 347 kB / 0.9855 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.008403, allocations: 32.92 kB / 0.9855 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.008725, allocations: 191.5 kB / 0.9857 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.009033, allocations: 139.6 kB / 0.9858 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.009077, allocations: 16 kB / 0.9858 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.00922, allocations: 63.84 kB / 0.9859 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.009364, allocations: 103.6 kB / 0.986 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.009478, allocations: 71.72 kB / 0.9861 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005095/0.009987, allocations: 386.7 kB / 0.9864 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.009991, allocations: 0 / 0.9864 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.92e-07/0.009992, allocations: 0 / 0.9864 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.009997, allocations: 0 / 0.9864 GB, free: 6.801 MB / 0.9356 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.001074/0.01107, allocations: 0.574 MB / 0.987 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.01111, allocations: 8.031 kB / 0.987 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.501e-05/0.01119, allocations: 36.7 kB / 0.987 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005669/0.01176, allocations: 320.1 kB / 0.9873 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.01179, allocations: 16.12 kB / 0.9874 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.01181, allocations: 4 kB / 0.9874 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.01209, allocations: 113.5 kB / 0.9875 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.0121, allocations: 0 / 0.9875 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.01211, allocations: 0 / 0.9875 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.01212, allocations: 4 kB / 0.9875 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.01231, allocations: 67.89 kB / 0.9875 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000923/0.01323, allocations: 420.2 kB / 0.9879 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.01362, allocations: 138.7 kB / 0.9881 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.01375, allocations: 52.83 kB / 0.9881 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.01377, allocations: 0 / 0.9881 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.01403, allocations: 115.3 kB / 0.9882 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.01403, allocations: 3.938 kB / 0.9882 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005981/0.01463, allocations: 231.6 kB / 0.9885 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.01469, allocations: 59.33 kB / 0.9885 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007511/0.01544, allocations: 0.5366 MB / 0.989 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.01547, allocations: 29.7 kB / 0.9891 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.01563, allocations: 172.5 kB / 0.9892 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.446e-05/0.01569, allocations: 35.69 kB / 0.9893 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.0158, allocations: 69.97 kB / 0.9893 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002041/0.01601, allocations: 350.8 kB / 0.9897 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.01627, allocations: 100.5 kB / 0.9898 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.01651, allocations: 140.2 kB / 0.9899 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.01691, allocations: 195 kB / 0.9901 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.01692, allocations: 0 / 0.9901 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006132/0.01753, allocations: 333.8 kB / 0.9904 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.01755, allocations: 4 kB / 0.9904 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01755, allocations: 4 kB / 0.9904 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.01756, allocations: 3.938 kB / 0.9904 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.0178, allocations: 51.91 kB / 0.9905 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.01781, allocations: 3.938 kB / 0.9905 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.01796, allocations: 31.94 kB / 0.9905 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.01799, allocations: 8 kB / 0.9905 GB, free: 2.438 MB / 0.9356 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.0002023/0.0182, allocations: 181.8 kB / 0.9907 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.01825, allocations: 35.75 kB / 0.9907 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004764/0.01873, allocations: 215.8 kB / 0.9909 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01873, allocations: 0 / 0.9909 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.01874, allocations: 3.938 kB / 0.9909 GB, free: 2 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.01874, allocations: 3.984 kB / 0.9909 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.01902, allocations: 229.2 kB / 0.9911 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01902, allocations: 4 kB / 0.9911 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.66e-05/0.0191, allocations: 23.92 kB / 0.9912 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.01911, allocations: 4 kB / 0.9912 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.01912, allocations: 3.984 kB / 0.9912 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01913, allocations: 0 / 0.9912 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01913, allocations: 0 / 0.9912 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.01958, allocations: 232.6 kB / 0.9914 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.736e-05/0.01966, allocations: 39.77 kB / 0.9914 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.01971, allocations: 3.984 kB / 0.9914 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.01982, allocations: 12 kB / 0.9915 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.01989, allocations: 19.97 kB / 0.9915 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.01992, allocations: 11.92 kB / 0.9915 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003903/0.02031, allocations: 327.1 kB / 0.9918 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.02031, allocations: 0 / 0.9918 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003071/0.02061, allocations: 59.94 kB / 0.9919 GB, free: 1.004 MB / 0.9356 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.001768/0.02238, allocations: 450.6 kB / 0.9923 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004443/0.02283, allocations: 195.8 kB / 0.9925 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.02283, allocations: 0 / 0.9925 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.02299, allocations: 59.91 kB / 0.9925 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.0235, allocations: 96.86 kB / 0.9926 GB, free: 416 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.02463, allocations: 0.5609 MB / 0.9932 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.02484, allocations: 191.9 kB / 0.9934 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001494/0.02499, allocations: 54.94 kB / 0.9934 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.0251, allocations: 40.48 kB / 0.9934 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/0.0251, allocations: 4 kB / 0.9934 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of Templates: time 0.01069/0.03579, allocations: 4.492 MB / 0.9978 GB, free: 11.09 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.405499193817377]