Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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.0009693/0.0009693, 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.001765/0.001765, allocations: 177.4 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.037/1.037, allocations: 177.2 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.367/2.367, 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.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMin.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMin.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.352e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001388/0.001411, allocations: 0.74 MB / 0.8393 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002135/0.001624, allocations: 63.69 kB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.001686, allocations: 0 / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.001792, allocations: 7.922 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.195e-05/0.001824, allocations: 0 / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.001955, allocations: 27.86 kB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.628e-05/0.002052, allocations: 63.88 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.002191, allocations: 63.58 kB / 0.8395 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.654e-05/0.002248, allocations: 55.89 kB / 0.8396 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.428e-05/0.002312, allocations: 39.89 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.002336, allocations: 8 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.489e-05/0.002351, allocations: 16 kB / 0.8396 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.67e-05/0.002388, allocations: 23.92 kB / 0.8396 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.002421, allocations: 31.91 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.002538, allocations: 87.61 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.322e-06/0.002539, allocations: 0 / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.12e-07/0.00254, allocations: 0 / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.002543, 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.000311/0.002854, allocations: 296.6 kB / 0.84 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.002885, allocations: 8.031 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.002918, allocations: 16.94 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.003054, allocations: 137.6 kB / 0.8402 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.003072, allocations: 8.375 kB / 0.8402 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.00309, allocations: 12.38 kB / 0.8402 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.003232, allocations: 105.7 kB / 0.8403 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.00324, allocations: 192 / 0.8403 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.00325, allocations: 4.375 kB / 0.8403 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.003256, allocations: 4.375 kB / 0.8403 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.589e-05/0.003302, allocations: 39.91 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.003653, allocations: 281.4 kB / 0.8406 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.1e-05/0.003704, allocations: 26.58 kB / 0.8407 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.254e-05/0.003717, allocations: 4.859 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.003732, allocations: 8.047 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.00375, allocations: 34.5 kB / 0.8407 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.003751, allocations: 0 / 0.8407 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001045/0.003856, allocations: 37.64 kB / 0.8407 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.003886, allocations: 59.39 kB / 0.8408 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.46e-05/0.00396, allocations: 146.5 kB / 0.8409 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.003969, allocations: 25.7 kB / 0.841 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.004021, allocations: 131.8 kB / 0.8411 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5e-06/0.004026, allocations: 4 kB / 0.8411 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.004059, allocations: 29.69 kB / 0.8411 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.004129, allocations: 314.8 kB / 0.8414 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.004144, allocations: 7.984 kB / 0.8414 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.217e-05/0.004156, allocations: 4 kB / 0.8414 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.52e-05/0.004191, allocations: 32.91 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.004193, allocations: 0 / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.011e-05/0.004253, allocations: 53.62 kB / 0.8415 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.004264, allocations: 7.984 kB / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.004268, allocations: 0 / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.004279, allocations: 4 kB / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.004346, allocations: 16 kB / 0.8415 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.004348, allocations: 0 / 0.8415 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.004364, allocations: 7.953 kB / 0.8415 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.004372, allocations: 3.984 kB / 0.8416 GB, free: 10.95 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 (mulMin.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.09e-05/0.004433, allocations: 116.6 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.004447, allocations: 7.875 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.424e-05/0.004541, allocations: 50.17 kB / 0.8417 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.004545, allocations: 3.984 kB / 0.8417 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.004546, allocations: 4.031 kB / 0.8417 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.004551, allocations: 4 kB / 0.8417 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.004727, allocations: 286.9 kB / 0.842 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.00473, allocations: 3.938 kB / 0.842 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.528e-05/0.004745, allocations: 0 / 0.842 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.004746, allocations: 0 / 0.842 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.004751, allocations: 4 kB / 0.842 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.004752, allocations: 0 / 0.842 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.004753, allocations: 0 / 0.842 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.993e-05/0.004813, allocations: 61.16 kB / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.004822, allocations: 7.891 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.814e-06/0.00483, allocations: 0 / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.131e-05/0.004842, allocations: 4 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.00487, allocations: 3.984 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.004872, allocations: 0 / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.605e-05/0.004898, allocations: 32.83 kB / 0.8421 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.004898, allocations: 0 / 0.8421 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001057/0.005004, allocations: 19.89 kB / 0.8421 GB, free: 10.28 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 (mulMin.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 9.37e-05/0.005098, allocations: 80.36 kB / 0.8422 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.603e-05/0.005164, allocations: 24.88 kB / 0.8422 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.005168, allocations: 4 kB / 0.8422 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.159e-05/0.00518, allocations: 4.859 kB / 0.8422 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.799e-05/0.005278, allocations: 14.19 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.005542, allocations: 172.3 kB / 0.8424 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.777e-05/0.00558, allocations: 67.33 kB / 0.8425 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.406e-05/0.005604, allocations: 4 kB / 0.8425 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.005655, allocations: 67.36 kB / 0.8426 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.005656, allocations: 0 / 0.8426 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of Templates: time 0.002246/0.007902, allocations: 0.6708 MB / 0.8432 GB, free: 9.145 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.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.200327605009079]