Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001142/0.001142, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001691/0.002833, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001136/0.001136, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001546/0.002683, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9098/0.9098, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09052/1, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.859/1.859, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4355/2.295, allocations: 123.3 MB / 0.7283 GB, free: 5.742 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.MultiMinInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMin.y",fileNamePrefix="Buildings_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0.7656 kB / 0.7296 GB, free: 4.449 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.96e-05, allocations: 4.094 kB / 0.7296 GB, free: 4.445 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001296/0.001316, allocations: 0.6818 MB / 0.7303 GB, free: 3.789 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 4.43e-05/0.00136, allocations: 11.06 kB / 0.7303 GB, free: 3.781 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.001399, allocations: 4 kB / 0.7303 GB, free: 3.777 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.179e-05/0.00144, allocations: 3.938 kB / 0.7303 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.874e-05/0.001469, allocations: 0 / 0.7303 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 2.606e-05/0.001495, allocations: 0 / 0.7303 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.247e-05/0.001578, allocations: 32.14 kB / 0.7303 GB, free: 3.746 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.00167, allocations: 22.02 kB / 0.7304 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.553e-05/0.001716, allocations: 21.73 kB / 0.7304 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.192e-05/0.001748, allocations: 18.23 kB / 0.7304 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.001767, allocations: 1.312 kB / 0.7304 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-06/0.001776, allocations: 4 kB / 0.7304 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/0.001806, allocations: 10.3 kB / 0.7304 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.001827, allocations: 6.844 kB / 0.7304 GB, free: 3.676 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.01e-05/0.001907, allocations: 32.23 kB / 0.7305 GB, free: 3.648 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.001918, allocations: 0.7812 kB / 0.7305 GB, free: 3.648 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.41e-07/0.001918, allocations: 0 / 0.7305 GB, free: 3.648 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.001931, allocations: 4.609 kB / 0.7305 GB, free: 3.645 MB / 0.698 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.0002819/0.002213, allocations: 261.4 kB / 0.7307 GB, free: 3.363 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.651e-05/0.002239, allocations: 8.938 kB / 0.7307 GB, free: 3.355 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.002268, allocations: 8.922 kB / 0.7307 GB, free: 3.348 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.002407, allocations: 118.5 kB / 0.7308 GB, free: 3.207 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.002416, allocations: 5.031 kB / 0.7308 GB, free: 3.203 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.002427, allocations: 5.781 kB / 0.7309 GB, free: 3.199 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.275e-05/0.002509, allocations: 53.83 kB / 0.7309 GB, free: 3.141 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.002516, allocations: 192 / 0.7309 GB, free: 3.141 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.002522, allocations: 4.375 kB / 0.7309 GB, free: 3.137 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.002529, allocations: 5.672 kB / 0.7309 GB, free: 3.133 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.741e-05/0.002546, allocations: 17.28 kB / 0.7309 GB, free: 3.117 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.002783, allocations: 340.9 kB / 0.7313 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.434e-05/0.002837, allocations: 176.6 kB / 0.7314 GB, free: 2.586 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.002854, allocations: 81.02 kB / 0.7315 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.002871, allocations: 80.41 kB / 0.7316 GB, free: 2.426 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.015e-05/0.002931, allocations: 109.8 kB / 0.7317 GB, free: 2.309 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.002932, allocations: 0 / 0.7317 GB, free: 2.309 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 4.379e-05/0.002976, allocations: 31.28 kB / 0.7317 GB, free: 2.273 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.003013, allocations: 134.6 kB / 0.7318 GB, free: 2.129 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.423e-05/0.003078, allocations: 126.6 kB / 0.732 GB, free: 1.992 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.003085, allocations: 25.7 kB / 0.732 GB, free: 1.961 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.003114, allocations: 92.42 kB / 0.7321 GB, free: 1.871 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.003118, allocations: 3.984 kB / 0.7321 GB, free: 1.867 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.00314, allocations: 21.7 kB / 0.7321 GB, free: 1.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.099e-05/0.003201, allocations: 310.8 kB / 0.7324 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-06/0.003205, allocations: 1.312 kB / 0.7324 GB, free: 1.527 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-06/0.003211, allocations: 1.312 kB / 0.7324 GB, free: 1.527 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.462e-05/0.003235, allocations: 16.84 kB / 0.7324 GB, free: 1.508 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.003238, allocations: 3.938 kB / 0.7324 GB, free: 1.504 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.029e-05/0.003288, allocations: 39.2 kB / 0.7325 GB, free: 1.461 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.003297, allocations: 4 kB / 0.7325 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.003301, allocations: 1.094 kB / 0.7325 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.003312, allocations: 0 / 0.7325 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.671e-05/0.003358, allocations: 9.328 kB / 0.7325 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.003361, allocations: 0 / 0.7325 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.003373, allocations: 4 kB / 0.7325 GB, free: 1.445 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.00338, allocations: 0.6562 kB / 0.7325 GB, free: 1.445 MB / 0.698 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 (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 6.008e-05/0.00344, allocations: 193 kB / 0.7327 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.003471, allocations: 105 kB / 0.7328 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.003504, allocations: 112.4 kB / 0.7329 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-05/0.00354, allocations: 181.2 kB / 0.733 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-05/0.003574, allocations: 180.4 kB / 0.7332 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.51e-05/0.003609, allocations: 184.1 kB / 0.7334 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.003781, allocations: 322.7 kB / 0.7337 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.1e-05/0.003802, allocations: 108.9 kB / 0.7338 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.003834, allocations: 105 kB / 0.7339 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.003863, allocations: 118.1 kB / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.482e-05/0.003898, allocations: 188.2 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.003932, allocations: 176.3 kB / 0.7344 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.345e-05/0.003965, allocations: 181 kB / 0.7345 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.36e-05/0.003999, allocations: 180.3 kB / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.784e-05/0.004076, allocations: 311.7 kB / 0.735 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.004117, allocations: 181.1 kB / 0.7352 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.583e-05/0.004163, allocations: 105.9 kB / 0.7353 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.004202, allocations: 180.3 kB / 0.7354 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.004224, allocations: 112.9 kB / 0.7356 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.619e-05/0.004241, allocations: 9.797 kB / 0.7356 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004241, allocations: 0 / 0.7356 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001146/0.004355, allocations: 9.219 kB / 0.7356 GB, free: 14.1 MB / 0.7136 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 7.632e-05/0.004432, allocations: 152.5 kB / 0.7357 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.724e-05/0.004479, allocations: 13.5 kB / 0.7357 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.004482, allocations: 4.75 kB / 0.7357 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.004485, allocations: 0 / 0.7357 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.004696, allocations: 490.1 kB / 0.7362 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000158/0.004854, allocations: 199.7 kB / 0.7364 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.667e-05/0.004881, allocations: 61.34 kB / 0.7364 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.079e-05/0.004901, allocations: 3.938 kB / 0.7365 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.004938, allocations: 47.38 kB / 0.7365 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/0.004939, allocations: 4 kB / 0.7365 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of Templates: time 0.001573/0.006511, allocations: 360.1 kB / 0.7368 GB, free: 12.75 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.641703742556274]