Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001016/0.001016, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001018/0.001018, allocations: 181 kB / 23.36 MB, free: 1.133 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.9455/0.9455, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.504/2.504, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023e-05/1.169e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001149/0.00116, allocations: 0.7159 MB / 0.8393 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007403/0.001901, allocations: 0.878 MB / 0.8402 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.00193, allocations: 0 / 0.8402 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.001951, allocations: 3.938 kB / 0.8402 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.391e-05/0.002005, allocations: 3.938 kB / 0.8402 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 9.351e-05/0.002099, allocations: 27.91 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.823e-05/0.002157, allocations: 43.86 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.03e-05/0.002217, allocations: 19.97 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.809e-05/0.002285, allocations: 23.98 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.427e-05/0.00233, allocations: 23.89 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.002348, allocations: 4 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.595e-06/0.002355, allocations: 4 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.002371, allocations: 8 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.002389, allocations: 19.92 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 6.243e-05/0.002452, allocations: 31.83 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.002454, allocations: 4 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002455, allocations: 3.938 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.374e-06/0.002457, allocations: 4 kB / 0.8404 GB, free: 12.38 MB / 0.8073 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.0002759/0.002733, allocations: 248.9 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.002761, allocations: 8.625 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.002785, allocations: 8.922 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.577e-05/0.00286, allocations: 109.8 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.002876, allocations: 4.375 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.002885, allocations: 384 / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.483e-05/0.00298, allocations: 66.92 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.002987, allocations: 3.938 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.002994, allocations: 4 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.002999, allocations: 4 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.597e-05/0.003025, allocations: 11.94 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.003225, allocations: 172.2 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.745e-05/0.003282, allocations: 30.56 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.0033, allocations: 12.92 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.003311, allocations: 7.938 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.003331, allocations: 42.48 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.003332, allocations: 0 / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001005/0.003432, allocations: 49.69 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.003457, allocations: 51.41 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.878e-05/0.003505, allocations: 118.7 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.003514, allocations: 25.7 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.769e-05/0.003542, allocations: 92.08 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.003555, allocations: 7.953 kB / 0.8414 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.00358, allocations: 17.7 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.003647, allocations: 318.8 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.003658, allocations: 4 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/0.00367, allocations: 7.938 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.409e-05/0.003704, allocations: 25.11 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.003706, allocations: 4 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.632e-05/0.003753, allocations: 45.62 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.003766, allocations: 8 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.003771, allocations: 7.922 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.003782, allocations: 0 / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.395e-05/0.003836, allocations: 4 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-06/0.003839, allocations: 0 / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.272e-05/0.003861, allocations: 11.98 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.003867, allocations: 7.938 kB / 0.8418 GB, free: 10.71 MB / 0.8073 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 4.766e-05/0.003914, allocations: 109.8 kB / 0.8419 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.003928, allocations: 7.938 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.482e-05/0.003943, allocations: 8 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.003944, allocations: 0 / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.003945, allocations: 0 / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.003949, allocations: 3.984 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.611e-05/0.004025, allocations: 73.89 kB / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.004026, allocations: 0 / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.004048, allocations: 7.984 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.004049, allocations: 0 / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.004054, allocations: 11.94 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.6e-07/0.004054, allocations: 0 / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.004055, allocations: 0 / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.198e-05/0.004127, allocations: 143.5 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-06/0.004135, allocations: 11.89 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-06/0.004143, allocations: 3.938 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.527e-05/0.004179, allocations: 7.984 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.004213, allocations: 11.98 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.004216, allocations: 0 / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.337e-05/0.004229, allocations: 12.84 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004229, allocations: 0 / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001085/0.004337, allocations: 12 kB / 0.8423 GB, free: 10.25 MB / 0.8073 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 6.124e-05/0.004399, allocations: 84.41 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.348e-05/0.004452, allocations: 20.84 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.004454, allocations: 0 / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.275e-05/0.004476, allocations: 16.8 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/0.004584, allocations: 10.05 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000191/0.004775, allocations: 136.5 kB / 0.8425 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.901e-05/0.004804, allocations: 59.34 kB / 0.8426 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.28e-05/0.004827, allocations: 4 kB / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.004875, allocations: 59.31 kB / 0.8426 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of SimCode: time 3.91e-07/0.004875, allocations: 0 / 0.8426 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of Templates: time 0.002075/0.006951, allocations: 0.9862 MB / 0.8436 GB, free: 8.832 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.386340463999659]