Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.001263/0.001263, allocations: 80.88 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.001285/0.001285, 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.9495/0.9495, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.469/2.469, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 3.984 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.69e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001519/0.001546, allocations: 0.7717 MB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.002597, allocations: 0.913 MB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.174e-05/0.002639, allocations: 0 / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.002668, allocations: 3.938 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.125e-05/0.00275, allocations: 15.81 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.002893, allocations: 35.95 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.769e-05/0.002981, allocations: 87.75 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.435e-05/0.003065, allocations: 27.91 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.936e-05/0.003165, allocations: 47.89 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.003231, allocations: 43.88 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.003255, allocations: 8 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.003266, allocations: 8 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.003287, allocations: 19.98 kB / 0.8405 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.003314, allocations: 27.91 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.539e-05/0.003409, allocations: 67.72 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.003411, allocations: 0 / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003412, allocations: 0 / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.003415, allocations: 0 / 0.8406 GB, free: 12.07 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.0003337/0.003749, allocations: 276.7 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.003781, allocations: 8.625 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.003814, allocations: 20.92 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.144e-05/0.003895, allocations: 121.6 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.003915, allocations: 8.312 kB / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.003931, allocations: 8.375 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.004083, allocations: 86.89 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.004091, allocations: 3.938 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.004102, allocations: 4 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.004107, allocations: 0 / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.276e-05/0.00415, allocations: 23.98 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.00442, allocations: 196.1 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.004637, allocations: 66.47 kB / 0.8414 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.464e-05/0.004662, allocations: 16.84 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.004679, allocations: 4 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.004699, allocations: 34.56 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.0047, allocations: 0 / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001421/0.004842, allocations: 73.61 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.004871, allocations: 51.41 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.099e-05/0.004932, allocations: 126.7 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.004943, allocations: 25.7 kB / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.004977, allocations: 100 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.004998, allocations: 19.84 kB / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.005038, allocations: 25.69 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.00511, allocations: 314.8 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.005131, allocations: 4 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.109e-05/0.005152, allocations: 20.27 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.921e-05/0.005201, allocations: 36.77 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.005204, allocations: 3.938 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.557e-05/0.00528, allocations: 53.69 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.005291, allocations: 6.031 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.005296, allocations: 0 / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.005308, allocations: 7.922 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.728e-05/0.005385, allocations: 19.98 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.005388, allocations: 0 / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.005422, allocations: 8 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.00543, allocations: 7.984 kB / 0.8423 GB, free: 10.17 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,max1.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 6.22e-05/0.005492, allocations: 117.7 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.005508, allocations: 4 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.005609, allocations: 74.08 kB / 0.8425 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.005611, allocations: 3.984 kB / 0.8425 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.005613, allocations: 0 / 0.8425 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005616, allocations: 0 / 0.8425 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.552e-05/0.005711, allocations: 89.77 kB / 0.8426 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.005712, allocations: 4 kB / 0.8426 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-05/0.005773, allocations: 15.98 kB / 0.8426 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.005781, allocations: 7.938 kB / 0.8426 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.005793, allocations: 7.984 kB / 0.8426 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.005794, allocations: 0 / 0.8426 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005795, allocations: 0 / 0.8426 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.005923, allocations: 159.4 kB / 0.8428 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.005938, allocations: 7.938 kB / 0.8428 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.005948, allocations: 0 / 0.8428 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.549e-05/0.006014, allocations: 15.98 kB / 0.8428 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.006063, allocations: 19.97 kB / 0.8428 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.006069, allocations: 4 kB / 0.8428 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.794e-05/0.006087, allocations: 17.28 kB / 0.8429 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006087, allocations: 0 / 0.8429 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001225/0.006209, allocations: 19.95 kB / 0.8429 GB, free: 9.566 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 (max1.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 8.063e-05/0.00629, allocations: 76.42 kB / 0.843 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.345e-05/0.006374, allocations: 44.75 kB / 0.843 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.006376, allocations: 4 kB / 0.843 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.751e-05/0.006414, allocations: 28.84 kB / 0.843 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.006552, allocations: 8.703 kB / 0.843 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.006819, allocations: 172.9 kB / 0.8432 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.214e-05/0.006852, allocations: 59.3 kB / 0.8433 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.328e-05/0.006895, allocations: 15.98 kB / 0.8433 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.576e-05/0.006971, allocations: 67.36 kB / 0.8433 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of SimCode: time 9.12e-07/0.006972, allocations: 0 / 0.8433 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of Templates: time 0.003136/0.01011, allocations: 1.715 MB / 0.845 GB, free: 7.336 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.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.355254711117595]