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.0009695/0.0009695, 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.001117/0.001117, allocations: 159 kB / 24.86 MB, free: 8.312 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.9659/0.9659, allocations: 177.1 MB / 205.3 MB, free: 4.512 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.969/1.969, allocations: 377.9 MB / 0.6247 GB, free: 9 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 3.476e-06/3.476e-06, allocations: 0 / 0.8128 GB, free: 42.63 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.438e-05/3.785e-05, allocations: 2.969 kB / 0.8128 GB, free: 42.62 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.005681/0.005718, allocations: 0.708 MB / 0.8135 GB, free: 42.23 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.006879, allocations: 0.8829 MB / 0.8143 GB, free: 41.58 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.006926, allocations: 3 kB / 0.8143 GB, free: 41.58 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/0.006955, allocations: 1.906 kB / 0.8143 GB, free: 41.58 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.042e-05/0.007035, allocations: 8.484 kB / 0.8143 GB, free: 41.58 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.007181, allocations: 23.75 kB / 0.8144 GB, free: 41.57 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.081e-05/0.007262, allocations: 49.41 kB / 0.8144 GB, free: 41.55 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.631e-05/0.007358, allocations: 13.72 kB / 0.8144 GB, free: 41.54 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.922e-05/0.007447, allocations: 26.28 kB / 0.8145 GB, free: 41.53 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.007503, allocations: 22.92 kB / 0.8145 GB, free: 41.52 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.007523, allocations: 5.75 kB / 0.8145 GB, free: 41.52 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.007534, allocations: 3.5 kB / 0.8145 GB, free: 41.52 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.007556, allocations: 12.19 kB / 0.8145 GB, free: 41.52 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.00758, allocations: 12.97 kB / 0.8145 GB, free: 41.51 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.303e-05/0.007673, allocations: 30.47 kB / 0.8145 GB, free: 41.5 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.00768, allocations: 2.875 kB / 0.8145 GB, free: 41.5 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.553e-06/0.007682, allocations: 1.281 kB / 0.8145 GB, free: 41.5 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.007688, allocations: 0 / 0.8145 GB, free: 41.5 MB / 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.0003784/0.008066, allocations: 378.2 kB / 0.8149 GB, free: 41.12 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.008103, allocations: 9.25 kB / 0.8149 GB, free: 41.12 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.008142, allocations: 13.55 kB / 0.8149 GB, free: 41.12 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.315e-05/0.008215, allocations: 115.5 kB / 0.815 GB, free: 40.98 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.008235, allocations: 3.188 kB / 0.815 GB, free: 40.98 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.008245, allocations: 3.094 kB / 0.815 GB, free: 40.98 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.008389, allocations: 66.48 kB / 0.8151 GB, free: 40.93 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.008396, allocations: 3.938 kB / 0.8151 GB, free: 40.93 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.008405, allocations: 0 / 0.8151 GB, free: 40.93 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.008411, allocations: 2.812 kB / 0.8151 GB, free: 40.93 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.459e-05/0.008456, allocations: 11.25 kB / 0.8151 GB, free: 40.93 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.008767, allocations: 269.9 kB / 0.8154 GB, free: 40.67 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 9.603e-05/0.008863, allocations: 44.62 kB / 0.8154 GB, free: 40.63 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.008893, allocations: 24.41 kB / 0.8154 GB, free: 40.61 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.008906, allocations: 0 / 0.8154 GB, free: 40.61 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.008923, allocations: 36.17 kB / 0.8155 GB, free: 40.57 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.008924, allocations: 0.875 kB / 0.8155 GB, free: 40.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=4): time 0.0001646/0.009089, allocations: 54.75 kB / 0.8155 GB, free: 40.53 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.009111, allocations: 56.31 kB / 0.8156 GB, free: 40.46 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.788e-05/0.009169, allocations: 166.7 kB / 0.8157 GB, free: 40.3 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.009177, allocations: 27.11 kB / 0.8158 GB, free: 40.27 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.009207, allocations: 133.5 kB / 0.8159 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.009227, allocations: 13.95 kB / 0.8159 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.009267, allocations: 26.42 kB / 0.8159 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.001e-05/0.009327, allocations: 498.7 kB / 0.8164 GB, free: 39.6 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.00935, allocations: 1.969 kB / 0.8164 GB, free: 39.6 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.112e-05/0.009372, allocations: 8.156 kB / 0.8164 GB, free: 39.6 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.542e-05/0.009417, allocations: 20.62 kB / 0.8164 GB, free: 39.59 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.009419, allocations: 3.938 kB / 0.8164 GB, free: 39.58 MB / 0.7605 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001019/0.009521, allocations: 58.44 kB / 0.8165 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.009533, allocations: 2.969 kB / 0.8165 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.009539, allocations: 2.016 kB / 0.8165 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.009548, allocations: 2.906 kB / 0.8165 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.691e-05/0.009635, allocations: 10.5 kB / 0.8165 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.009637, allocations: 0 / 0.8165 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.165e-05/0.009679, allocations: 2.719 kB / 0.8165 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.009687, allocations: 7.344 kB / 0.8165 GB, free: 39.54 MB / 0.7605 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 5.304e-05/0.00974, allocations: 157.3 kB / 0.8167 GB, free: 39.38 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.00977, allocations: 10.11 kB / 0.8167 GB, free: 39.37 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.009794, allocations: 12.97 kB / 0.8167 GB, free: 39.36 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.009797, allocations: 3.25 kB / 0.8167 GB, free: 39.36 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.009799, allocations: 0 / 0.8167 GB, free: 39.36 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.009801, allocations: 0 / 0.8167 GB, free: 39.36 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.00992, allocations: 109.2 kB / 0.8168 GB, free: 39.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.009922, allocations: 4.438 kB / 0.8168 GB, free: 39.23 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.009978, allocations: 11.34 kB / 0.8168 GB, free: 39.23 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.009981, allocations: 0 / 0.8168 GB, free: 39.23 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.009989, allocations: 7.938 kB / 0.8168 GB, free: 39.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.009991, allocations: 2.75 kB / 0.8168 GB, free: 39.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.009993, allocations: 1.547 kB / 0.8168 GB, free: 39.23 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.01011, allocations: 199.7 kB / 0.817 GB, free: 39.04 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.01013, allocations: 8.453 kB / 0.817 GB, free: 39.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.01014, allocations: 6.844 kB / 0.817 GB, free: 39.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.01021, allocations: 7.641 kB / 0.817 GB, free: 39.02 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.01026, allocations: 9.906 kB / 0.8171 GB, free: 39.02 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.01027, allocations: 0 / 0.8171 GB, free: 39.02 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 2.75e-05/0.01029, allocations: 130.4 kB / 0.8172 GB, free: 38.9 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01029, allocations: 3.938 kB / 0.8172 GB, free: 38.9 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003278/0.01357, allocations: 8.094 kB / 0.8172 GB, free: 38.9 MB / 0.7605 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 0.000102/0.01367, allocations: 96.59 kB / 0.8173 GB, free: 38.81 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.01378, allocations: 32.52 kB / 0.8173 GB, free: 38.8 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01378, allocations: 0 / 0.8173 GB, free: 38.8 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.01382, allocations: 21.19 kB / 0.8173 GB, free: 38.79 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.0141, allocations: 7.391 kB / 0.8173 GB, free: 38.79 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.01439, allocations: 138.3 kB / 0.8175 GB, free: 38.66 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.803e-05/0.01442, allocations: 57.02 kB / 0.8175 GB, free: 38.59 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.342e-05/0.01447, allocations: 6.656 kB / 0.8175 GB, free: 38.59 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.01453, allocations: 76.92 kB / 0.8176 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of SimCode: time 8.12e-07/0.01453, allocations: 0 / 0.8176 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of Templates: time 0.006449/0.02098, allocations: 1.071 MB / 0.8187 GB, free: 38.45 MB / 0.7605 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.512929249089211]