Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.00142/0.00142, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001634/0.001634, allocations: 165 kB / 23.82 MB, free: 0.7539 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.014/1.014, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.014/2.014, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 177] 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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 0.8116 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.936e-05, allocations: 2.312 kB / 0.8116 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.00236/0.002389, allocations: 0.8681 MB / 0.8124 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.003825, allocations: 0.9452 MB / 0.8134 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.003932, allocations: 8.781 kB / 0.8134 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.004097, allocations: 11.81 kB / 0.8134 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.456e-05/0.004151, allocations: 20.55 kB / 0.8134 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.004418, allocations: 36.92 kB / 0.8134 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.004589, allocations: 111.6 kB / 0.8136 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.004737, allocations: 35.89 kB / 0.8136 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.004962, allocations: 61.52 kB / 0.8136 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.349e-05/0.005046, allocations: 31.89 kB / 0.8137 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.005078, allocations: 8 kB / 0.8137 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.589e-05/0.005134, allocations: 12 kB / 0.8137 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.005159, allocations: 20.83 kB / 0.8137 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.0052, allocations: 27.91 kB / 0.8137 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.005371, allocations: 68.31 kB / 0.8138 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.005374, allocations: 0 / 0.8138 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005375, allocations: 1.406 kB / 0.8138 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.005381, allocations: 3.938 kB / 0.8138 GB, free: 14.29 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005394/0.00592, allocations: 421.2 kB / 0.8142 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.005965, allocations: 12.03 kB / 0.8142 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.006131, allocations: 20.88 kB / 0.8142 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.006342, allocations: 154 kB / 0.8144 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.006354, allocations: 384 / 0.8144 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.006369, allocations: 8.375 kB / 0.8144 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.006558, allocations: 87.58 kB / 0.8145 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.006568, allocations: 1.438 kB / 0.8145 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.006581, allocations: 384 / 0.8145 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.006592, allocations: 4.375 kB / 0.8145 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.642e-05/0.006658, allocations: 27.86 kB / 0.8145 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.007154, allocations: 328.4 kB / 0.8148 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.007287, allocations: 47.8 kB / 0.8149 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.007323, allocations: 16.44 kB / 0.8149 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.007338, allocations: 4 kB / 0.8149 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.007362, allocations: 34.64 kB / 0.8149 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.007364, allocations: 0 / 0.8149 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0002147/0.007579, allocations: 61.67 kB / 0.815 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.007614, allocations: 53.47 kB / 0.815 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.007884, allocations: 191.9 kB / 0.8152 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.007909, allocations: 29.7 kB / 0.8152 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.107e-05/0.00799, allocations: 146.8 kB / 0.8154 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.008015, allocations: 11.91 kB / 0.8154 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.008057, allocations: 23.38 kB / 0.8154 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.008199, allocations: 0.5009 MB / 0.8159 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/0.008229, allocations: 4 kB / 0.8159 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-05/0.008256, allocations: 12.58 kB / 0.8159 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.381e-05/0.008309, allocations: 19.81 kB / 0.8159 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.008313, allocations: 4.781 kB / 0.816 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001084/0.008421, allocations: 57.56 kB / 0.816 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.008436, allocations: 9.594 kB / 0.816 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.008442, allocations: 3.984 kB / 0.816 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.008457, allocations: 0 / 0.816 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.875e-05/0.008535, allocations: 4 kB / 0.816 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.008541, allocations: 5.531 kB / 0.816 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.382e-05/0.008595, allocations: 15.88 kB / 0.816 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-06/0.008603, allocations: 0 / 0.816 GB, free: 11.81 MB / 0.7292 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 (5): * Single equations (assignments): 5 * 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 8.78e-05/0.008691, allocations: 166.2 kB / 0.8162 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.008722, allocations: 7.953 kB / 0.8162 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.008752, allocations: 16.33 kB / 0.8162 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.008754, allocations: 192 / 0.8162 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.008758, allocations: 1 kB / 0.8162 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.008763, allocations: 3.984 kB / 0.8162 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.008919, allocations: 140.5 kB / 0.8164 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008921, allocations: 1.594 kB / 0.8164 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.008968, allocations: 15.92 kB / 0.8164 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.00897, allocations: 0 / 0.8164 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.008981, allocations: 4 kB / 0.8164 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.008983, allocations: 0.5312 kB / 0.8164 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.008984, allocations: 0.6875 kB / 0.8164 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.009142, allocations: 203.8 kB / 0.8166 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.009153, allocations: 4.484 kB / 0.8166 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.009179, allocations: 4.719 kB / 0.8166 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.009252, allocations: 7.984 kB / 0.8166 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.009317, allocations: 16.94 kB / 0.8166 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.009323, allocations: 0 / 0.8166 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.523e-05/0.009388, allocations: 141.5 kB / 0.8167 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.009388, allocations: 0.5312 kB / 0.8167 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002578/0.009646, allocations: 17.38 kB / 0.8168 GB, free: 11.01 MB / 0.7292 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 (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 Backend phase and start with SimCode phase: time 0.0001148/0.00976, allocations: 99.19 kB / 0.8169 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001218/0.009882, allocations: 32.98 kB / 0.8169 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009884, allocations: 0 / 0.8169 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.009923, allocations: 23.67 kB / 0.8169 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.01022, allocations: 12.78 kB / 0.8169 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006246/0.01085, allocations: 204.4 kB / 0.8171 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.733e-05/0.01089, allocations: 63.28 kB / 0.8172 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.117e-05/0.01093, allocations: 5.188 kB / 0.8172 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.01098, allocations: 18.39 kB / 0.8172 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/0.01098, allocations: 0 / 0.8172 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.003751/0.01473, allocations: 1.169 MB / 0.8183 GB, free: 9.391 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.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.235666485037655]