Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001019/0.001019, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001116/0.001116, allocations: 181 kB / 24.09 MB, free: 420 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.9427/0.9427, allocations: 177.1 MB / 204.5 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.964/1.964, allocations: 377.9 MB / 0.6239 GB, free: 8.398 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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.284e-05, allocations: 3.078 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002056/0.002088, allocations: 0.7275 MB / 0.8127 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003242, allocations: 0.8714 MB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.00329, allocations: 0 / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.003321, allocations: 5.281 kB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.768e-05/0.003409, allocations: 7.938 kB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.003564, allocations: 27.84 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.408e-05/0.003648, allocations: 49.78 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.003753, allocations: 8 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.003869, allocations: 31.89 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.172e-05/0.00393, allocations: 15.98 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.003954, allocations: 4 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.003966, allocations: 5.344 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.003989, allocations: 11.92 kB / 0.8137 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.004016, allocations: 11.98 kB / 0.8137 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.00412, allocations: 43.77 kB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.004123, allocations: 1.594 kB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.72e-07/0.004124, allocations: 0 / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.004128, allocations: 0 / 0.8138 GB, free: 15.62 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.000427/0.004555, allocations: 372.6 kB / 0.8141 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.004605, allocations: 14.22 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.004641, allocations: 8.891 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.642e-05/0.004738, allocations: 104.6 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.00476, allocations: 8.375 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.004771, allocations: 4.359 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.004919, allocations: 71.45 kB / 0.8143 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.004928, allocations: 4.656 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.004936, allocations: 0 / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.004942, allocations: 0.5312 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.004982, allocations: 15.92 kB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006428/0.005625, allocations: 262 kB / 0.8146 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.954e-05/0.005724, allocations: 43.05 kB / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.715e-05/0.005751, allocations: 20.22 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.005768, allocations: 0 / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.005794, allocations: 42.64 kB / 0.8147 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.005795, allocations: 0 / 0.8147 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001711/0.005966, allocations: 53.86 kB / 0.8148 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.006001, allocations: 52.56 kB / 0.8148 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.676e-05/0.006088, allocations: 173.8 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.006101, allocations: 33.7 kB / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.006152, allocations: 136.2 kB / 0.8151 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.006168, allocations: 3.953 kB / 0.8151 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.006204, allocations: 27.38 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.006332, allocations: 0.4899 MB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.006355, allocations: 4 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.006372, allocations: 7.938 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.326e-05/0.006415, allocations: 19.67 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.006417, allocations: 1.031 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.699e-05/0.006504, allocations: 57.58 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.006516, allocations: 4.656 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.006521, allocations: 0 / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.006536, allocations: 1 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.229e-05/0.006618, allocations: 11.98 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.006621, allocations: 0.8438 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.006655, allocations: 4 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.006661, allocations: 3.938 kB / 0.8158 GB, free: 13.41 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,intGreThr.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.728e-05/0.006738, allocations: 166.1 kB / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.006763, allocations: 7.891 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.006788, allocations: 8 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.00679, allocations: 0.9688 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.006792, allocations: 0 / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.006794, allocations: 0 / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.006924, allocations: 111.3 kB / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.006926, allocations: 0 / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/0.006973, allocations: 7.984 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.006978, allocations: 8 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-06/0.006985, allocations: 3.938 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.006986, allocations: 2.25 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.006988, allocations: 320 / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.00713, allocations: 195.9 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.007144, allocations: 15.88 kB / 0.8163 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.007156, allocations: 7.875 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.255e-05/0.007219, allocations: 4 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.007266, allocations: 8.484 kB / 0.8163 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.007272, allocations: 8.531 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.787e-05/0.00732, allocations: 131.2 kB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00732, allocations: 1.938 kB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002177/0.007538, allocations: 8 kB / 0.8164 GB, free: 12.68 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 (intGreThr.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 9.916e-05/0.007637, allocations: 95.25 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.096e-05/0.007728, allocations: 24.52 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.00773, allocations: 0.6562 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.007768, allocations: 31.67 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.008018, allocations: 19.31 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.008298, allocations: 126.3 kB / 0.8167 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.863e-05/0.008337, allocations: 59.34 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.008372, allocations: 6.25 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.844e-05/0.00845, allocations: 78.2 kB / 0.8169 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of SimCode: time 9.82e-07/0.008451, allocations: 0 / 0.8169 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of Templates: time 0.002663/0.01111, allocations: 1.03 MB / 0.8179 GB, free: 11.18 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.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.011081777047366]