Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.001211/0.001211, 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.001751/0.001751, allocations: 181 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.05/1.05, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.413/2.413, 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.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.873e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001393/0.001411, allocations: 0.7784 MB / 0.8394 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002033/0.001615, allocations: 55.77 kB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.00167, allocations: 3.938 kB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.001777, allocations: 7.922 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.468e-05/0.001812, allocations: 7.938 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.001951, allocations: 23.91 kB / 0.8395 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.482e-05/0.002045, allocations: 59.89 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.002181, allocations: 63.58 kB / 0.8396 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.716e-05/0.002238, allocations: 59.88 kB / 0.8396 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.0023, allocations: 31.91 kB / 0.8397 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.002322, allocations: 12 kB / 0.8397 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.002336, allocations: 15.94 kB / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.601e-05/0.002372, allocations: 27.92 kB / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.002404, allocations: 35.91 kB / 0.8398 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.002513, allocations: 79.72 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.352e-06/0.002515, allocations: 0 / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002515, allocations: 4 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.002519, allocations: 0 / 0.8398 GB, free: 12.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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0002861/0.002805, allocations: 296.5 kB / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.002838, allocations: 12.03 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.002868, allocations: 12.94 kB / 0.8402 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.003004, allocations: 133.6 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.003021, allocations: 12.38 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.003036, allocations: 12.38 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.003172, allocations: 109.7 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.003181, allocations: 192 / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.003191, allocations: 8.375 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.003197, allocations: 384 / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.838e-05/0.003245, allocations: 39.91 kB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.003586, allocations: 281.4 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.268e-05/0.003628, allocations: 30.56 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.003644, allocations: 8.922 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.003657, allocations: 3.984 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.003677, allocations: 34.5 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.003678, allocations: 0 / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.895e-05/0.003777, allocations: 41.64 kB / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.003801, allocations: 55.39 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.001e-05/0.003871, allocations: 142.5 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.003879, allocations: 25.7 kB / 0.841 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.003929, allocations: 131.7 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-06/0.003934, allocations: 4.125 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.003967, allocations: 33.69 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.863e-05/0.004035, allocations: 314.8 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.004048, allocations: 7.984 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.192e-05/0.00406, allocations: 8 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.194e-05/0.004092, allocations: 24.98 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004094, allocations: 0 / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.652e-05/0.00415, allocations: 53.56 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.004163, allocations: 11.98 kB / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.004166, allocations: 0 / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.004178, allocations: 4 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.979e-05/0.004238, allocations: 12 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.004241, allocations: 0 / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.004259, allocations: 11.94 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.004268, allocations: 4 kB / 0.8416 GB, free: 10.94 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: 1 (mulMax.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 5.488e-05/0.004323, allocations: 108.7 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.004339, allocations: 7.938 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.816e-05/0.004417, allocations: 66.02 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.004419, allocations: 0 / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.00442, allocations: 4.031 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.004422, allocations: 0 / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.004706, allocations: 271 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.004708, allocations: 3.938 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.004721, allocations: 4 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.004723, allocations: 0 / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-06/0.004726, allocations: 0 / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004726, allocations: 0 / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.004727, allocations: 3.938 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.319e-05/0.00477, allocations: 61.12 kB / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-06/0.00478, allocations: 19.94 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-06/0.004788, allocations: 0 / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.048e-05/0.004798, allocations: 0 / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.004826, allocations: 7.984 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.004828, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.155e-05/0.004849, allocations: 24.84 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004849, allocations: 0 / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001079/0.004957, allocations: 23.89 kB / 0.8422 GB, free: 10.27 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: 1 (mulMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.326e-05/0.005021, allocations: 76.42 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.59e-05/0.005076, allocations: 28.78 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.005079, allocations: 0 / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.123e-05/0.00509, allocations: 8.859 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.195e-05/0.005172, allocations: 17.81 kB / 0.8423 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002057/0.005378, allocations: 180.2 kB / 0.8425 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.095e-05/0.005409, allocations: 63.34 kB / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.407e-05/0.005433, allocations: 7.984 kB / 0.8426 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.005477, allocations: 59.44 kB / 0.8426 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of SimCode: time 5.81e-07/0.005478, allocations: 0 / 0.8426 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of Templates: time 0.002153/0.007631, allocations: 0.7463 MB / 0.8434 GB, free: 9.059 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.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.225876162294298]