Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.001133/0.001133, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001311/0.001311, allocations: 177 kB / 23.36 MB, free: 1.129 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.039/1.039, 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.553/2.553, allocations: 438.8 MB / 0.6827 GB, free: 13.54 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.8386 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.803e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002022/0.00205, allocations: 0.815 MB / 0.8394 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009471/0.002997, allocations: 0.9168 MB / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.003042, allocations: 0 / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.258e-05/0.003074, allocations: 3.938 kB / 0.8403 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.709e-05/0.003162, allocations: 11.92 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.003311, allocations: 39.89 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.055e-05/0.003402, allocations: 83.77 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.52e-05/0.003487, allocations: 27.89 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.429e-05/0.003581, allocations: 51.89 kB / 0.8405 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.456e-05/0.003646, allocations: 43.88 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.003667, allocations: 12 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.003679, allocations: 8 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.003702, allocations: 19.91 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.003728, allocations: 23.98 kB / 0.8406 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.787e-05/0.003826, allocations: 63.72 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.003829, allocations: 7.938 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.62e-07/0.00383, allocations: 4 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.003834, allocations: 0 / 0.8407 GB, free: 11.95 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003242/0.004158, allocations: 276.7 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.004189, allocations: 12.62 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.004217, allocations: 12.94 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.702e-05/0.004304, allocations: 121.7 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.00432, allocations: 384 / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.004331, allocations: 8.375 kB / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.004478, allocations: 94.83 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.004486, allocations: 3.938 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.004495, allocations: 0 / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.0045, allocations: 4 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.186e-05/0.004542, allocations: 19.98 kB / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.004822, allocations: 204.1 kB / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.005036, allocations: 58.47 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.609e-05/0.005062, allocations: 16.86 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.005078, allocations: 4 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.005097, allocations: 34.55 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.005097, allocations: 0 / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001422/0.00524, allocations: 77.81 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.005267, allocations: 55.41 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.4e-05/0.005331, allocations: 122.7 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.005342, allocations: 25.7 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.005376, allocations: 96.02 kB / 0.8419 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.005398, allocations: 27.78 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.00543, allocations: 17.7 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.181e-05/0.005502, allocations: 322.8 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.005524, allocations: 8 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.724e-05/0.005541, allocations: 4 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.116e-05/0.005592, allocations: 44.81 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.005596, allocations: 3.938 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.132e-05/0.005677, allocations: 57.61 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.00569, allocations: 4 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.005697, allocations: 7.984 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.005707, allocations: 0 / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.611e-05/0.005793, allocations: 15.98 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.005797, allocations: 3.984 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.87e-05/0.005836, allocations: 8 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.005844, allocations: 4 kB / 0.8424 GB, free: 10.05 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: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.385e-05/0.005918, allocations: 113.8 kB / 0.8425 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.005938, allocations: 7.984 kB / 0.8425 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.006063, allocations: 74.03 kB / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.006065, allocations: 0 / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.006067, allocations: 4 kB / 0.8426 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.006071, allocations: 0 / 0.8426 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.006186, allocations: 93.75 kB / 0.8427 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006187, allocations: 4 kB / 0.8427 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.33e-05/0.006251, allocations: 15.98 kB / 0.8427 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.006254, allocations: 3.938 kB / 0.8427 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.006264, allocations: 3.984 kB / 0.8427 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.006266, allocations: 4 kB / 0.8427 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006267, allocations: 0 / 0.8427 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.006384, allocations: 163.5 kB / 0.8429 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.006396, allocations: 3.938 kB / 0.8429 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.006408, allocations: 4 kB / 0.8429 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.905e-05/0.006457, allocations: 11.98 kB / 0.8429 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.00652, allocations: 23.97 kB / 0.8429 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.006525, allocations: 0 / 0.8429 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.344e-05/0.006548, allocations: 28.77 kB / 0.843 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006548, allocations: 0 / 0.843 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000135/0.006683, allocations: 15.95 kB / 0.843 GB, free: 9.441 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001058/0.006789, allocations: 76.42 kB / 0.843 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.969e-05/0.006889, allocations: 36.78 kB / 0.8431 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.006892, allocations: 4 kB / 0.8431 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.006933, allocations: 29.45 kB / 0.8431 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.007082, allocations: 13.72 kB / 0.8431 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/0.007359, allocations: 169.1 kB / 0.8433 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.624e-05/0.007395, allocations: 59.36 kB / 0.8433 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.584e-05/0.007441, allocations: 11.98 kB / 0.8434 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/0.00752, allocations: 67.36 kB / 0.8434 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/0.00752, allocations: 0 / 0.8434 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of Templates: time 0.003175/0.0107, allocations: 1.723 MB / 0.8451 GB, free: 7.219 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.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.337193010374904]