Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.0009985/0.0009985, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001138/0.001138, allocations: 164.7 kB / 24.87 MB, free: 8.891 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 0.9631/0.9631, allocations: 177.1 MB / 205.3 MB, free: 5.492 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 1.919/1.919, allocations: 377.9 MB / 0.6247 GB, free: 8.367 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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.39e-05, allocations: 7.156 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002065/0.002089, allocations: 0.7225 MB / 0.8135 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.003314, allocations: 0.8741 MB / 0.8143 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.003364, allocations: 0 / 0.8143 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.0034, allocations: 9.516 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.983e-05/0.00349, allocations: 4 kB / 0.8144 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.00366, allocations: 23.86 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.003763, allocations: 56.48 kB / 0.8144 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.00387, allocations: 8 kB / 0.8144 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.541e-05/0.003965, allocations: 24.53 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.004031, allocations: 23.91 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.004053, allocations: 5.062 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.004064, allocations: 4 kB / 0.8145 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.004087, allocations: 8.672 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.004113, allocations: 11.94 kB / 0.8145 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.004223, allocations: 42.28 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004225, allocations: 0 / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004226, allocations: 0 / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.00423, allocations: 0 / 0.8146 GB, free: 15.61 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004511/0.004682, allocations: 372.6 kB / 0.8149 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.004725, allocations: 19.91 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.004766, allocations: 9.828 kB / 0.8149 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.004874, allocations: 108.6 kB / 0.815 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.004899, allocations: 8.375 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.004909, allocations: 1.375 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.005058, allocations: 70.92 kB / 0.8151 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.005068, allocations: 5.281 kB / 0.8151 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.005077, allocations: 0 / 0.8151 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.005082, allocations: 0 / 0.8151 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.13e-05/0.005124, allocations: 13.92 kB / 0.8151 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.005449, allocations: 264.2 kB / 0.8154 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.544e-05/0.005545, allocations: 47.11 kB / 0.8154 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.005588, allocations: 15.66 kB / 0.8155 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.005602, allocations: 1.688 kB / 0.8155 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.005633, allocations: 41.42 kB / 0.8155 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.005634, allocations: 3.938 kB / 0.8155 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001697/0.005803, allocations: 49.69 kB / 0.8155 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.005836, allocations: 52.31 kB / 0.8156 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.005924, allocations: 173.8 kB / 0.8158 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.00594, allocations: 34.23 kB / 0.8158 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.005993, allocations: 127.4 kB / 0.8159 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.006013, allocations: 7.938 kB / 0.8159 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.006055, allocations: 31.89 kB / 0.816 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.006204, allocations: 497.3 kB / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.006226, allocations: 4 kB / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.894e-05/0.006245, allocations: 4 kB / 0.8164 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.081e-05/0.006295, allocations: 28.12 kB / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006297, allocations: 1.375 kB / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.549e-05/0.006392, allocations: 57.86 kB / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.006405, allocations: 4 kB / 0.8165 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.00641, allocations: 0 / 0.8165 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.006421, allocations: 5.188 kB / 0.8165 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.00651, allocations: 11.98 kB / 0.8165 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.006513, allocations: 4.938 kB / 0.8165 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.885e-05/0.006552, allocations: 4 kB / 0.8165 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.006558, allocations: 0 / 0.8165 GB, free: 13.39 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: 2 (reaToInt.y,intLesThr.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 8.783e-05/0.006646, allocations: 165.4 kB / 0.8167 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.006674, allocations: 7.891 kB / 0.8167 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.129e-05/0.006695, allocations: 8.828 kB / 0.8167 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006697, allocations: 4 kB / 0.8167 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006699, allocations: 1.281 kB / 0.8167 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006702, allocations: 0 / 0.8167 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.006837, allocations: 105.2 kB / 0.8168 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006838, allocations: 0.8438 kB / 0.8168 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/0.006884, allocations: 4 kB / 0.8168 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.006887, allocations: 5.125 kB / 0.8168 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.006898, allocations: 7.922 kB / 0.8168 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.006899, allocations: 0 / 0.8168 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.0069, allocations: 1.375 kB / 0.8168 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.007042, allocations: 195.9 kB / 0.817 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.007057, allocations: 11.89 kB / 0.817 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.007072, allocations: 7.938 kB / 0.817 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.007142, allocations: 17.36 kB / 0.8171 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.00719, allocations: 7.984 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.007196, allocations: 4 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.667e-05/0.007242, allocations: 130.1 kB / 0.8172 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.007242, allocations: 0 / 0.8172 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002568/0.007499, allocations: 8 kB / 0.8172 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 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * 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 8.357e-05/0.007583, allocations: 91.25 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.193e-05/0.007675, allocations: 27.67 kB / 0.8173 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.007676, allocations: 0 / 0.8173 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.159e-05/0.007718, allocations: 28.11 kB / 0.8173 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.007978, allocations: 5.344 kB / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.008245, allocations: 134.3 kB / 0.8175 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.936e-05/0.008285, allocations: 56.33 kB / 0.8175 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.835e-05/0.008323, allocations: 9.203 kB / 0.8175 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.008661, allocations: 80.92 kB / 0.8176 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of SimCode: time 7.52e-07/0.008662, allocations: 0 / 0.8176 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.00308/0.01174, allocations: 1.051 MB / 0.8186 GB, free: 11.15 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.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.227854532189667]