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.001009/0.001009, 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.0009958/0.0009958, allocations: 169.3 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 0.9454/0.9454, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.838/1.838, allocations: 377.8 MB / 0.6239 GB, free: 8.582 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.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 1.893e-06/1.893e-06, allocations: 0 / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.233e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001373/0.001395, allocations: 0.7269 MB / 0.8122 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009078/0.002303, allocations: 0.8718 MB / 0.8131 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.254e-05/0.002345, allocations: 0 / 0.8131 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.002373, allocations: 7.938 kB / 0.8131 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.605e-05/0.002449, allocations: 3.984 kB / 0.8131 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.002588, allocations: 28.75 kB / 0.8131 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.298e-05/0.002671, allocations: 51.84 kB / 0.8132 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.825e-05/0.002769, allocations: 8 kB / 0.8132 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.587e-05/0.002855, allocations: 24.88 kB / 0.8132 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 9.025e-05/0.002945, allocations: 23.91 kB / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.002968, allocations: 4.656 kB / 0.8132 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-06/0.002978, allocations: 4 kB / 0.8132 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.002996, allocations: 9.172 kB / 0.8133 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.003023, allocations: 15.92 kB / 0.8133 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.393e-05/0.003117, allocations: 35.89 kB / 0.8133 GB, free: 276 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003119, allocations: 1.156 kB / 0.8133 GB, free: 276 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.32e-07/0.00312, allocations: 0 / 0.8133 GB, free: 276 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.003124, allocations: 0 / 0.8133 GB, free: 276 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.0004153/0.00354, allocations: 374 kB / 0.8137 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.003577, allocations: 12.03 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.003621, allocations: 12.83 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.003723, allocations: 114.3 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.003745, allocations: 4.375 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.003758, allocations: 8.375 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.003897, allocations: 66.92 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.003905, allocations: 5.25 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.003916, allocations: 0 / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.003925, allocations: 0 / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.537e-05/0.00397, allocations: 15.98 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.004321, allocations: 281.5 kB / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.004428, allocations: 50.98 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.004462, allocations: 15.72 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.004478, allocations: 6.469 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.004502, allocations: 37.39 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.004503, allocations: 0 / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001797/0.004683, allocations: 57.62 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.004718, allocations: 51.41 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.004802, allocations: 177.9 kB / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.004812, allocations: 26.42 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.004861, allocations: 134.9 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.004879, allocations: 8.484 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.004909, allocations: 25.03 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.005084, allocations: 496.1 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.005107, allocations: 8 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.005129, allocations: 4 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.697e-05/0.005176, allocations: 33.05 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.005179, allocations: 3.938 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.778e-05/0.005257, allocations: 57.62 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.005273, allocations: 4.594 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.005279, allocations: 0.75 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.005292, allocations: 0 / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.808e-05/0.00537, allocations: 12.83 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.005375, allocations: 0 / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.639e-05/0.005401, allocations: 9.75 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.005406, allocations: 0 / 0.8153 GB, free: 14.01 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 6.651e-05/0.005473, allocations: 168.5 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.005488, allocations: 3.953 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.00551, allocations: 11.94 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.005511, allocations: 0.8125 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.005516, allocations: 0 / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.005518, allocations: 2.344 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.985e-05/0.005618, allocations: 128.7 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.00562, allocations: 3.938 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-05/0.005649, allocations: 15.98 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.00565, allocations: 0 / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.005657, allocations: 0 / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.005658, allocations: 2 kB / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-07/0.005659, allocations: 0 / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.005777, allocations: 199.9 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.868e-06/0.005787, allocations: 11.83 kB / 0.8159 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.005799, allocations: 8 kB / 0.8159 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.738e-05/0.005836, allocations: 0.5 kB / 0.8159 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.005893, allocations: 21 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.005896, allocations: 0 / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.678e-05/0.005933, allocations: 127.2 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005933, allocations: 0.875 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001553/0.006089, allocations: 12 kB / 0.816 GB, free: 13.25 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 7.791e-05/0.006167, allocations: 96.95 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.318e-05/0.00626, allocations: 27.67 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006261, allocations: 0 / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.229e-05/0.006293, allocations: 28.97 kB / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.006482, allocations: 13.98 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003039/0.006786, allocations: 127.1 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.222e-05/0.006828, allocations: 60 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.878e-05/0.006857, allocations: 3.594 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.006899, allocations: 20.48 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of SimCode: time 1.002e-06/0.0069, allocations: 0 / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of Templates: time 0.002627/0.009527, allocations: 0.9676 MB / 0.8173 GB, free: 11.88 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.124437243910506]