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.0007758/0.0007758, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009912/0.001767, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007127/0.0007127, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000956/0.001669, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9714/0.9714, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1014/1.073, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.352/2.352, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2708/2.623, allocations: 145.9 MB / 0.817 GB, free: 4.199 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.324e-06/2.324e-06, allocations: 0 / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.587e-05, allocations: 4.422 kB / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001199/0.001214, allocations: 0.7871 MB / 0.8191 GB, free: 2.113 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001012/0.001316, allocations: 63.69 kB / 0.8191 GB, free: 2.051 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.001363, allocations: 4 kB / 0.8191 GB, free: 2.047 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.774e-05/0.001421, allocations: 15.92 kB / 0.8191 GB, free: 2.031 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.811e-05/0.001449, allocations: 0 / 0.8191 GB, free: 2.031 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.38e-05/0.001523, allocations: 19.86 kB / 0.8191 GB, free: 2.012 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.799e-05/0.001621, allocations: 63.84 kB / 0.8192 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.001759, allocations: 71.56 kB / 0.8193 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.523e-05/0.001824, allocations: 55.89 kB / 0.8193 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.59e-05/0.00189, allocations: 31.95 kB / 0.8194 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.001916, allocations: 8 kB / 0.8194 GB, free: 1.777 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.001931, allocations: 12 kB / 0.8194 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.281e-05/0.001964, allocations: 27.88 kB / 0.8194 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.001997, allocations: 19.94 kB / 0.8194 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.002127, allocations: 83.62 kB / 0.8195 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.422e-05/0.002142, allocations: 0 / 0.8195 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.41e-07/0.002142, allocations: 4 kB / 0.8195 GB, free: 1.633 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.002156, allocations: 0 / 0.8195 GB, free: 1.633 MB / 0.7917 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.0003743/0.00253, allocations: 308.2 kB / 0.8198 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.002561, allocations: 8.031 kB / 0.8198 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.0026, allocations: 20.92 kB / 0.8198 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.002749, allocations: 133.6 kB / 0.82 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.002769, allocations: 12.36 kB / 0.82 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.002783, allocations: 12.38 kB / 0.82 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.002925, allocations: 109.7 kB / 0.8201 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.002932, allocations: 192 / 0.8201 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.002942, allocations: 4.375 kB / 0.8201 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.002946, allocations: 4.375 kB / 0.8201 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.613e-05/0.003003, allocations: 43.84 kB / 0.8201 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.003344, allocations: 273.5 kB / 0.8204 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.739e-05/0.003391, allocations: 30.55 kB / 0.8204 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.157e-05/0.003403, allocations: 8.859 kB / 0.8204 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.003419, allocations: 8 kB / 0.8204 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.003438, allocations: 38.44 kB / 0.8205 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.003439, allocations: 0 / 0.8205 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 9.542e-05/0.003534, allocations: 37.69 kB / 0.8205 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.00356, allocations: 55.41 kB / 0.8206 GB, free: 440 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.935e-05/0.003629, allocations: 138.5 kB / 0.8207 GB, free: 288 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.003639, allocations: 25.7 kB / 0.8207 GB, free: 256 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.003688, allocations: 131.7 kB / 0.8209 GB, free: 120 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-06/0.003694, allocations: 0 / 0.8209 GB, free: 120 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.003726, allocations: 37.77 kB / 0.8209 GB, free: 76 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.376e-05/0.00381, allocations: 322.8 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.003822, allocations: 4 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.192e-05/0.003834, allocations: 7.938 kB / 0.8212 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.948e-05/0.003864, allocations: 20.84 kB / 0.8212 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.003866, allocations: 0 / 0.8212 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.689e-05/0.003923, allocations: 57.61 kB / 0.8213 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.003933, allocations: 4 kB / 0.8213 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.003939, allocations: 4 kB / 0.8213 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/0.003947, allocations: 4 kB / 0.8213 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.089e-05/0.004018, allocations: 23.98 kB / 0.8213 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.004021, allocations: 240 / 0.8213 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/0.004036, allocations: 3.938 kB / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.004044, allocations: 4 kB / 0.8213 GB, free: 15.61 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.31e-05/0.004097, allocations: 108.7 kB / 0.8214 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.004112, allocations: 11.92 kB / 0.8214 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.71e-05/0.00419, allocations: 54.16 kB / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.004191, allocations: 0 / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.004192, allocations: 0 / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.004195, allocations: 32 / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.004334, allocations: 282.9 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.004335, allocations: 3.938 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.004347, allocations: 7.984 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.004354, allocations: 4 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.004356, allocations: 0 / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-06/0.004359, allocations: 0 / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.00436, allocations: 3.984 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.004362, allocations: 3.984 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.859e-05/0.00441, allocations: 68.98 kB / 0.8218 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-06/0.004418, allocations: 8 kB / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.147e-05/0.00443, allocations: 4 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.004456, allocations: 0 / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.004458, allocations: 3.984 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.295e-05/0.004481, allocations: 23.11 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004481, allocations: 0 / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.935e-05/0.004581, allocations: 19.89 kB / 0.8219 GB, free: 14.95 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.532e-05/0.004646, allocations: 80.41 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.784e-05/0.004704, allocations: 20.84 kB / 0.822 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.004709, allocations: 8 kB / 0.822 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.317e-05/0.004723, allocations: 4.859 kB / 0.822 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001063/0.004829, allocations: 24.27 kB / 0.822 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002546/0.005084, allocations: 184.2 kB / 0.8222 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.553e-05/0.005119, allocations: 63.34 kB / 0.8223 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.344e-05/0.005143, allocations: 4 kB / 0.8223 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.005198, allocations: 63.36 kB / 0.8223 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.005198, allocations: 4.062 kB / 0.8223 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of Templates: time 0.002134/0.007332, allocations: 0.7685 MB / 0.8231 GB, free: 13.7 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 -emit_protected -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.ref.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.280615660361946]