Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002583/0.002583, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002165/0.002165, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.551/1.551, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.05/3.05, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.685e-05/3.999e-05, allocations: 13.84 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002689/0.002729, allocations: 0.6234 MB / 0.8114 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001822/0.002911, allocations: 8 kB / 0.8114 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.993e-05/0.002971, allocations: 3.938 kB / 0.8114 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.003099, allocations: 1.312 kB / 0.8114 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.81e-05/0.003137, allocations: 4.203 kB / 0.8114 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 8.376e-05/0.003221, allocations: 7.984 kB / 0.8114 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.003325, allocations: 25.83 kB / 0.8115 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.003481, allocations: 19.98 kB / 0.8115 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.335e-05/0.003544, allocations: 19.92 kB / 0.8115 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.735e-05/0.003591, allocations: 11.98 kB / 0.8115 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.003618, allocations: 4 kB / 0.8115 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/0.003635, allocations: 5.344 kB / 0.8115 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.003681, allocations: 15.92 kB / 0.8115 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.003714, allocations: 4 kB / 0.8115 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.00387, allocations: 51.73 kB / 0.8116 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.003873, allocations: 1.594 kB / 0.8116 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.81e-07/0.003873, allocations: 4 kB / 0.8116 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.003878, allocations: 0 / 0.8116 GB, free: 1.316 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006084/0.004487, allocations: 376.2 kB / 0.8119 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.004536, allocations: 10.19 kB / 0.812 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.101e-05/0.004597, allocations: 8.891 kB / 0.812 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.004853, allocations: 124.5 kB / 0.8121 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.004873, allocations: 4.375 kB / 0.8121 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.00489, allocations: 4.375 kB / 0.8121 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.005111, allocations: 74.67 kB / 0.8122 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.005122, allocations: 192 / 0.8122 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.005135, allocations: 1.094 kB / 0.8122 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.00514, allocations: 384 / 0.8122 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.005248, allocations: 36.45 kB / 0.8122 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008591/0.006107, allocations: 0.5386 MB / 0.8127 GB, free: 52 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.006362, allocations: 265.4 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.006468, allocations: 126.9 kB / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.082e-05/0.006559, allocations: 119.2 kB / 0.8132 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.00669, allocations: 165.1 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.006691, allocations: 0 / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001109/0.006802, allocations: 30.95 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.006953, allocations: 170.6 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.007216, allocations: 198 kB / 0.8137 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.007242, allocations: 30.8 kB / 0.8138 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.007385, allocations: 138.8 kB / 0.8139 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.007388, allocations: 0 / 0.8139 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.34e-05/0.007461, allocations: 28.75 kB / 0.8139 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003716/0.007833, allocations: 0.4922 MB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.007857, allocations: 4 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/0.007885, allocations: 13.55 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.952e-05/0.007944, allocations: 19.62 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.007946, allocations: 0 / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001865/0.008133, allocations: 54.66 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.00815, allocations: 4 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.008156, allocations: 0 / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.008172, allocations: 0.8438 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.334e-05/0.008245, allocations: 4 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.00825, allocations: 1.531 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.422e-05/0.008285, allocations: 7.938 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.008296, allocations: 0 / 0.8145 GB, free: 14.11 MB / 0.7761 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 (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 prepare postOptimizeDAE: time 0.0002554/0.008552, allocations: 287.7 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.008721, allocations: 153.8 kB / 0.8149 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.008843, allocations: 152.3 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001949/0.009037, allocations: 270.2 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002026/0.00924, allocations: 276 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001969/0.009437, allocations: 264.1 kB / 0.8159 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.009997, allocations: 0.5076 MB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000121/0.01012, allocations: 152.9 kB / 0.8165 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.01023, allocations: 148.9 kB / 0.8166 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002063/0.01044, allocations: 274.3 kB / 0.8169 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002193/0.01066, allocations: 264.1 kB / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002188/0.01088, allocations: 276 kB / 0.8174 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002162/0.01109, allocations: 264.1 kB / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.0115, allocations: 455.9 kB / 0.8181 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.01164, allocations: 148.8 kB / 0.8183 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/0.01189, allocations: 268.5 kB / 0.8185 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.01208, allocations: 153.4 kB / 0.8187 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/0.0123, allocations: 268 kB / 0.8189 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/0.01242, allocations: 150.8 kB / 0.8191 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001691/0.01259, allocations: 143.5 kB / 0.8192 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01259, allocations: 0 / 0.8192 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003905/0.01298, allocations: 11.94 kB / 0.8192 GB, free: 9.125 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0003017/0.01328, allocations: 215.4 kB / 0.8194 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.01342, allocations: 16.36 kB / 0.8194 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.01342, allocations: 0 / 0.8194 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.953e-06/0.01342, allocations: 4.594 kB / 0.8194 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009737/0.01439, allocations: 0.7135 MB / 0.8201 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005625/0.01496, allocations: 250.1 kB / 0.8204 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.01509, allocations: 74.53 kB / 0.8204 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.631e-05/0.01512, allocations: 0 / 0.8204 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.01517, allocations: 12.5 kB / 0.8204 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.01517, allocations: 0 / 0.8204 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of Templates: time 0.004402/0.01957, allocations: 322.7 kB / 0.8208 GB, free: 7.492 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.125525449984707]