Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.001946/0.001946, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002178/0.002178, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.588/1.588, allocations: 177.1 MB / 203.9 MB, free: 5.328 MB / 186.7 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 3.165/3.165, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 0.7656 kB / 0.8109 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/3.052e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002116/0.002147, allocations: 0.8143 MB / 0.8117 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.0035, allocations: 0.9148 MB / 0.8126 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.43e-05/0.003584, allocations: 0 / 0.8126 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.003742, allocations: 19.8 kB / 0.8126 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.743e-05/0.003789, allocations: 12.91 kB / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.004002, allocations: 31.89 kB / 0.8126 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.004143, allocations: 72.56 kB / 0.8127 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.004262, allocations: 23.92 kB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.004465, allocations: 49.58 kB / 0.8128 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.004542, allocations: 19.92 kB / 0.8128 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.004565, allocations: 4 kB / 0.8128 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.152e-05/0.004617, allocations: 15.97 kB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.004641, allocations: 17.47 kB / 0.8128 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.004677, allocations: 15.92 kB / 0.8128 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.004887, allocations: 87.67 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.00489, allocations: 0 / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.71e-07/0.004891, allocations: 1.75 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.004897, allocations: 0 / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006503/0.005547, allocations: 411.9 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.005588, allocations: 8.031 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.005763, allocations: 22.06 kB / 0.8133 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.006017, allocations: 151 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.006029, allocations: 384 / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.006044, allocations: 8.359 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.006206, allocations: 66.12 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.006215, allocations: 192 / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.006237, allocations: 4.359 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.006243, allocations: 4.375 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.006357, allocations: 36.64 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.006869, allocations: 308.2 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.007038, allocations: 52.64 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.007088, allocations: 23.69 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.007107, allocations: 0 / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.007144, allocations: 42.17 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.007145, allocations: 0 / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0002798/0.007424, allocations: 74.62 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.007471, allocations: 51.41 kB / 0.8141 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.007659, allocations: 211 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.007682, allocations: 25.7 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.00779, allocations: 150.8 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.007809, allocations: 9.328 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.007862, allocations: 27.36 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002571/0.008119, allocations: 0.4884 MB / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.684e-05/0.008186, allocations: 15.98 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-05/0.00823, allocations: 17.06 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.251e-05/0.008313, allocations: 31.95 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.008315, allocations: 0.7812 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000143/0.008458, allocations: 65.61 kB / 0.8151 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.008473, allocations: 8.562 kB / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.008479, allocations: 4.828 kB / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.008492, allocations: 0 / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.674e-05/0.008549, allocations: 4 kB / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.008554, allocations: 2 kB / 0.8152 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.4e-05/0.008608, allocations: 7.953 kB / 0.8152 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.008614, allocations: 0 / 0.8152 GB, free: 13.47 MB / 0.7761 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 (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 prepare postOptimizeDAE: time 0.0001331/0.008747, allocations: 168.5 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.008782, allocations: 8.562 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.008815, allocations: 14.81 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.008817, allocations: 0 / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.008821, allocations: 0 / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.008822, allocations: 0 / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.009011, allocations: 148.5 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.009012, allocations: 0 / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.009062, allocations: 4 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.009067, allocations: 5.75 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.009075, allocations: 0 / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.009079, allocations: 7.922 kB / 0.8155 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.00908, allocations: 0 / 0.8155 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.009308, allocations: 203.9 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.009326, allocations: 12.42 kB / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.009346, allocations: 4.562 kB / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.009434, allocations: 13.77 kB / 0.8157 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.009492, allocations: 7.984 kB / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.009497, allocations: 0 / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001213/0.009618, allocations: 159.1 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009618, allocations: 0 / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002195/0.009838, allocations: 12.67 kB / 0.8159 GB, free: 12.66 MB / 0.7761 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 (3): * Single equations (assignments): 3 * 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.0001633/0.01, allocations: 95.91 kB / 0.816 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001702/0.01017, allocations: 43.36 kB / 0.816 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01017, allocations: 0 / 0.816 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.899e-05/0.01024, allocations: 27.61 kB / 0.8161 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.01049, allocations: 15.94 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.01118, allocations: 173.8 kB / 0.8162 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.529e-05/0.01127, allocations: 77.23 kB / 0.8163 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.042e-05/0.01131, allocations: 4.281 kB / 0.8163 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.01135, allocations: 16.48 kB / 0.8163 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.01135, allocations: 1 kB / 0.8163 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of Templates: time 0.004099/0.01545, allocations: 0.9282 MB / 0.8172 GB, free: 11.26 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.239662794047035]