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.001029/0.001029, 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.001074/0.001074, 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 1.004/1.004, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.509/2.509, allocations: 438.8 MB / 0.6827 GB, free: 13.63 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.522e-06/1.522e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.553e-05, allocations: 5.828 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001383/0.001398, allocations: 0.7682 MB / 0.8394 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009145/0.002313, allocations: 0.8741 MB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.002351, allocations: 0 / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.00238, allocations: 3.938 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.568e-05/0.002455, allocations: 4 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.002593, allocations: 35.84 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.431e-05/0.002667, allocations: 43.84 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.491e-05/0.002752, allocations: 11.98 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.002838, allocations: 23.97 kB / 0.8404 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/0.002888, allocations: 23.91 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.002908, allocations: 4 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-06/0.002917, allocations: 4 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.002937, allocations: 12 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.002959, allocations: 19.91 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.601e-05/0.003035, allocations: 27.91 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003037, allocations: 0 / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003037, allocations: 4 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.055e-06/0.00304, allocations: 3.938 kB / 0.8405 GB, free: 12.3 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.0003108/0.003351, allocations: 252.8 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.003383, allocations: 8.625 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.00341, allocations: 12.92 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.049e-05/0.003491, allocations: 109.8 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.003508, allocations: 4.375 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.003516, allocations: 384 / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.003625, allocations: 70.92 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.003633, allocations: 3.938 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.003641, allocations: 0 / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.003646, allocations: 4 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.014e-05/0.003676, allocations: 15.92 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.003918, allocations: 172.2 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.097e-05/0.003979, allocations: 30.56 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/0.004001, allocations: 16.84 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.004013, allocations: 7.938 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.004033, allocations: 34.56 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.004034, allocations: 0 / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001182/0.004152, allocations: 49.62 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.004176, allocations: 51.41 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.704e-05/0.004233, allocations: 114.8 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.004242, allocations: 25.7 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.004274, allocations: 96.08 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.004291, allocations: 7.938 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.004319, allocations: 13.72 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.004398, allocations: 326.8 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.00441, allocations: 4 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.488e-06/0.00442, allocations: 0 / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.265e-05/0.004452, allocations: 29.05 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.004454, allocations: 0 / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.362e-05/0.004508, allocations: 49.62 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.004517, allocations: 4 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.004521, allocations: 4 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.004535, allocations: 7.922 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.863e-05/0.004594, allocations: 4 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.004597, allocations: 8 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.342e-05/0.004621, allocations: 7.984 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.004626, allocations: 4 kB / 0.8419 GB, free: 10.62 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 5.331e-05/0.00468, allocations: 105.8 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.004697, allocations: 11.88 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.554e-05/0.004713, allocations: 8 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.004716, allocations: 3.984 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.004718, allocations: 0 / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.00472, allocations: 0 / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.739e-05/0.004807, allocations: 77.88 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-07/0.004808, allocations: 4 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-05/0.004835, allocations: 4 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.004837, allocations: 4 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.004844, allocations: 7.922 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.004844, allocations: 0 / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.004845, allocations: 0 / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.957e-05/0.004925, allocations: 139.5 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.303e-06/0.004932, allocations: 7.891 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.004942, allocations: 3.938 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.661e-05/0.004989, allocations: 7.984 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.005029, allocations: 19.92 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.005033, allocations: 0 / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.221e-05/0.005045, allocations: 12.84 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005045, allocations: 0 / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001178/0.005163, allocations: 12 kB / 0.8423 GB, free: 10.16 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.432e-05/0.005227, allocations: 76.42 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.575e-05/0.005293, allocations: 24.83 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.005295, allocations: 0 / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-05/0.00532, allocations: 20.8 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.005454, allocations: 15.98 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.005681, allocations: 124.5 kB / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.763e-05/0.005719, allocations: 59.34 kB / 0.8427 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.65e-05/0.005745, allocations: 4.281 kB / 0.8427 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.611e-05/0.005802, allocations: 59.38 kB / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of SimCode: time 4.41e-07/0.005802, allocations: 3.938 kB / 0.8427 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of Templates: time 0.002359/0.00816, allocations: 0.9784 MB / 0.8437 GB, free: 8.746 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 -s gbode -gbm=radauIIA3 -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.271496509667486]