Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001429/0.001429, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001556/0.001556, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.04/1.04, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.892/1.892, allocations: 377.8 MB / 0.6239 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] 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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0.9844 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.856e-05, allocations: 7.594 kB / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001647/0.001676, allocations: 0.7174 MB / 0.8122 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000933/0.002609, allocations: 0.8793 MB / 0.8131 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.00266, allocations: 0 / 0.8131 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.002696, allocations: 5.5 kB / 0.8131 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.642e-05/0.002792, allocations: 7.875 kB / 0.8131 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.002965, allocations: 19.92 kB / 0.8131 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.961e-05/0.003055, allocations: 47.91 kB / 0.8132 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.003178, allocations: 17 kB / 0.8132 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.721e-05/0.003275, allocations: 27.86 kB / 0.8132 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.828e-05/0.003333, allocations: 16.61 kB / 0.8132 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.003358, allocations: 4 kB / 0.8132 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.003368, allocations: 5.406 kB / 0.8132 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.003391, allocations: 19.91 kB / 0.8133 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.003416, allocations: 11.98 kB / 0.8133 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.545e-05/0.003512, allocations: 35.83 kB / 0.8133 GB, free: 248 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.003514, allocations: 0.6875 kB / 0.8133 GB, free: 248 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003515, allocations: 0 / 0.8133 GB, free: 248 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.00352, allocations: 0.9062 kB / 0.8133 GB, free: 248 kB / 0.7605 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.0004209/0.003941, allocations: 376.6 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.003982, allocations: 8.688 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.004029, allocations: 13.77 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.004141, allocations: 112.6 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.004165, allocations: 4.375 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.004177, allocations: 9.562 kB / 0.8138 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.004317, allocations: 62.94 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.004325, allocations: 5.875 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.004335, allocations: 0 / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.004345, allocations: 4 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.523e-05/0.00439, allocations: 15.98 kB / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.004731, allocations: 279.7 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.004831, allocations: 64 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.004862, allocations: 17.41 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.004875, allocations: 0 / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.004897, allocations: 37.39 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.004899, allocations: 0 / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001799/0.005078, allocations: 63.09 kB / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.005108, allocations: 55.41 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.247e-05/0.005191, allocations: 169.9 kB / 0.8145 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.005202, allocations: 25.7 kB / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.00525, allocations: 135.8 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.005267, allocations: 11.91 kB / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.005299, allocations: 23.36 kB / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.005413, allocations: 496.9 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.005438, allocations: 4 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.802e-05/0.005456, allocations: 12.86 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.319e-05/0.005499, allocations: 23.62 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.005502, allocations: 5.656 kB / 0.8153 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.21e-05/0.005584, allocations: 57.61 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.005599, allocations: 6.656 kB / 0.8153 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.005605, allocations: 0 / 0.8153 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.00562, allocations: 4.625 kB / 0.8153 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.005708, allocations: 4.688 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.005713, allocations: 0 / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.005743, allocations: 8.578 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.005748, allocations: 0 / 0.8153 GB, free: 13.98 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,intLesEquThr.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 7.576e-05/0.005823, allocations: 165.6 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.005842, allocations: 7.953 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.005868, allocations: 8.531 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.00587, allocations: 1.312 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.005874, allocations: 0 / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.005879, allocations: 3.984 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.005989, allocations: 120.6 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.005992, allocations: 5.062 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.006026, allocations: 8 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.006027, allocations: 0 / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.006035, allocations: 8.422 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.006038, allocations: 4.875 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.00604, allocations: 4 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.006171, allocations: 197.1 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.006183, allocations: 15.83 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.006194, allocations: 0.9375 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.006234, allocations: 7.984 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.006294, allocations: 12.02 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.006299, allocations: 5.344 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.573e-05/0.006345, allocations: 131.2 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006345, allocations: 0 / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001467/0.006491, allocations: 8.781 kB / 0.816 GB, free: 13.22 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 (intLesEquThr.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.132e-05/0.006573, allocations: 97.19 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.421e-05/0.006667, allocations: 31.61 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.006668, allocations: 0 / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.284e-05/0.006701, allocations: 23.67 kB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.006888, allocations: 18.72 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.007175, allocations: 129.8 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.307e-05/0.007208, allocations: 55.36 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.716e-05/0.007235, allocations: 11.92 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.007272, allocations: 16.5 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.007273, allocations: 0.625 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of Templates: time 0.002587/0.00986, allocations: 0.9554 MB / 0.8173 GB, free: 11.86 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.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.356067325919867]