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.0009215/0.0009215, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004728/0.00565, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000914/0.000914, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001167/0.002081, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9577/0.9577, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08912/1.047, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.872/1.872, allocations: 378.2 MB / 0.6076 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.526/2.398, allocations: 123.3 MB / 0.728 GB, free: 5.789 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 2.154e-06/2.154e-06, allocations: 0 / 0.7293 GB, free: 4.484 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.896e-05, allocations: 7.203 kB / 0.7293 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002718/0.002747, allocations: 2.077 MB / 0.7314 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.004542, allocations: 1.347 MB / 0.7327 GB, free: 1.078 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.004682, allocations: 7.938 kB / 0.7327 GB, free: 1.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.004994, allocations: 159 kB / 0.7328 GB, free: 0.918 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003886/0.005382, allocations: 223.3 kB / 0.7331 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.005729, allocations: 164.3 kB / 0.7332 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003645/0.006094, allocations: 331 kB / 0.7335 GB, free: 232 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.006227, allocations: 38.86 kB / 0.7336 GB, free: 192 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007972/0.007024, allocations: 317.3 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.007211, allocations: 127.7 kB / 0.734 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.007237, allocations: 12.66 kB / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.007372, allocations: 59.91 kB / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.813e-05/0.00745, allocations: 80.41 kB / 0.7341 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.293e-05/0.007513, allocations: 59.73 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.007844, allocations: 248.6 kB / 0.7344 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.589e-05/0.00786, allocations: 0 / 0.7344 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.062e-06/0.007861, allocations: 0 / 0.7344 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.007877, allocations: 0 / 0.7344 GB, free: 15.34 MB / 0.7136 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.0006912/0.008568, allocations: 0.5851 MB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.008601, allocations: 8.031 kB / 0.735 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.008654, allocations: 28.91 kB / 0.735 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.008931, allocations: 257 kB / 0.7353 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.008951, allocations: 12.36 kB / 0.7353 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.008967, allocations: 24.67 kB / 0.7353 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.009113, allocations: 90.03 kB / 0.7354 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.009121, allocations: 0 / 0.7354 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.009133, allocations: 11.98 kB / 0.7354 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.009138, allocations: 4.75 kB / 0.7354 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.627e-05/0.009185, allocations: 22.95 kB / 0.7354 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.009622, allocations: 271.3 kB / 0.7357 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.009764, allocations: 116.1 kB / 0.7358 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.009796, allocations: 25.56 kB / 0.7358 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.009809, allocations: 8.688 kB / 0.7358 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.009929, allocations: 82.17 kB / 0.7359 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.009931, allocations: 5 kB / 0.7359 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.000177/0.01011, allocations: 109.2 kB / 0.736 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.01014, allocations: 55.41 kB / 0.7361 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.01039, allocations: 359.2 kB / 0.7364 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.01041, allocations: 33.7 kB / 0.7365 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.01048, allocations: 133.5 kB / 0.7366 GB, free: 13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.01051, allocations: 41.45 kB / 0.7366 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-05/0.01058, allocations: 69.94 kB / 0.7367 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.966e-05/0.01067, allocations: 354.7 kB / 0.737 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.331e-05/0.01071, allocations: 27.38 kB / 0.7371 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.364e-05/0.01077, allocations: 60.88 kB / 0.7371 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.753e-05/0.01086, allocations: 97.88 kB / 0.7372 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01087, allocations: 0 / 0.7372 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001767/0.01104, allocations: 153.4 kB / 0.7374 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.01106, allocations: 4.75 kB / 0.7374 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01107, allocations: 0 / 0.7374 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.01108, allocations: 4.625 kB / 0.7374 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.01125, allocations: 59.91 kB / 0.7374 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.01126, allocations: 0.75 kB / 0.7374 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/0.01134, allocations: 23.88 kB / 0.7374 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.01136, allocations: 13.38 kB / 0.7375 GB, free: 12.07 MB / 0.7136 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.0001067/0.01146, allocations: 133.3 kB / 0.7376 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.01149, allocations: 24.73 kB / 0.7376 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.01168, allocations: 119.2 kB / 0.7377 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01168, allocations: 3.938 kB / 0.7377 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.01168, allocations: 0.75 kB / 0.7377 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01169, allocations: 0 / 0.7377 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.01184, allocations: 153.6 kB / 0.7379 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.01184, allocations: 0.6875 kB / 0.7379 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.257e-05/0.0119, allocations: 20.55 kB / 0.7379 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.463e-05/0.01193, allocations: 35.7 kB / 0.7379 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.01193, allocations: 5.156 kB / 0.7379 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.01195, allocations: 7.984 kB / 0.7379 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01195, allocations: 0 / 0.7379 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.01195, allocations: 1.5 kB / 0.7379 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.01208, allocations: 135.4 kB / 0.7381 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.01211, allocations: 7.984 kB / 0.7381 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.42e-05/0.01215, allocations: 10.75 kB / 0.7381 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.01221, allocations: 15.97 kB / 0.7381 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.01222, allocations: 4 kB / 0.7381 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001115/0.01233, allocations: 140.7 kB / 0.7382 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01233, allocations: 0 / 0.7382 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001786/0.01251, allocations: 59.94 kB / 0.7383 GB, free: 11.16 MB / 0.7136 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.001405/0.01392, allocations: 0.5633 MB / 0.7388 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001905/0.01411, allocations: 108.9 kB / 0.739 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/0.01412, allocations: 8 kB / 0.739 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.708e-05/0.01418, allocations: 40.81 kB / 0.739 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.01445, allocations: 119 kB / 0.7391 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/0.01516, allocations: 489.7 kB / 0.7396 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.5e-05/0.01522, allocations: 104.6 kB / 0.7397 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.76e-05/0.01531, allocations: 45.42 kB / 0.7397 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.01544, allocations: 115.3 kB / 0.7398 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of SimCode: time 7.42e-07/0.01545, allocations: 0 / 0.7398 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.007476/0.02292, allocations: 4.943 MB / 0.7447 GB, free: 5.137 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.04132931958884]