Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001368/0.001368, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001542/0.001542, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.494/1.494, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.754/2.754, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.262e-05/3.472e-05, allocations: 5.688 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001842/0.001877, allocations: 0.6307 MB / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001495/0.002026, allocations: 7.984 kB / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.002077, allocations: 1.062 kB / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.002179, allocations: 7.922 kB / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.124e-05/0.00221, allocations: 4 kB / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.787e-05/0.002278, allocations: 4.844 kB / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.32e-05/0.002371, allocations: 23.92 kB / 0.787 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.002503, allocations: 16.73 kB / 0.787 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.33e-05/0.002547, allocations: 19.97 kB / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.062e-05/0.002587, allocations: 20.8 kB / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.002605, allocations: 0 / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.002619, allocations: 4.625 kB / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.002652, allocations: 8 kB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.002691, allocations: 13.34 kB / 0.7871 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.002803, allocations: 51.8 kB / 0.7872 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.002806, allocations: 0 / 0.7872 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.02e-07/0.002806, allocations: 0 / 0.7872 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.00281, allocations: 5.062 kB / 0.7872 GB, free: 12.02 MB / 0.7448 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.0003944/0.003204, allocations: 270.3 kB / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.003241, allocations: 8.031 kB / 0.7874 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.003287, allocations: 10.14 kB / 0.7874 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.003508, allocations: 121.7 kB / 0.7876 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.00352, allocations: 4.375 kB / 0.7876 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.003532, allocations: 5.938 kB / 0.7876 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.003697, allocations: 74.23 kB / 0.7876 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.003706, allocations: 192 / 0.7876 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.003721, allocations: 4.375 kB / 0.7876 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.003725, allocations: 1.406 kB / 0.7876 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.239e-05/0.003817, allocations: 55.84 kB / 0.7877 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.004332, allocations: 418.9 kB / 0.7881 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.004465, allocations: 170.1 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.72e-05/0.004522, allocations: 84.14 kB / 0.7883 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-05/0.004562, allocations: 76.5 kB / 0.7884 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.879e-05/0.004631, allocations: 105.8 kB / 0.7885 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.004632, allocations: 0 / 0.7885 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.753e-05/0.00472, allocations: 37.64 kB / 0.7885 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/0.004803, allocations: 128.3 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.004954, allocations: 125.8 kB / 0.7888 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.004971, allocations: 25.7 kB / 0.7888 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/0.005049, allocations: 96.08 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.005052, allocations: 1.406 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.005093, allocations: 21.83 kB / 0.7889 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.005265, allocations: 318.7 kB / 0.7892 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.298e-05/0.005288, allocations: 7.984 kB / 0.7892 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.527e-05/0.005303, allocations: 10.84 kB / 0.7892 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.901e-05/0.005342, allocations: 12.84 kB / 0.7893 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.005344, allocations: 4 kB / 0.7893 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001534/0.005497, allocations: 53.58 kB / 0.7893 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.005511, allocations: 4 kB / 0.7893 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.005516, allocations: 0.7188 kB / 0.7893 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.005536, allocations: 3.984 kB / 0.7893 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.007e-05/0.005596, allocations: 5.656 kB / 0.7893 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.005601, allocations: 0 / 0.7893 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.005627, allocations: 4 kB / 0.7893 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.005638, allocations: 0 / 0.7893 GB, free: 9.633 MB / 0.7448 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.0002396/0.005877, allocations: 206.7 kB / 0.7895 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.557e-05/0.005963, allocations: 101 kB / 0.7896 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.738e-05/0.00604, allocations: 116.4 kB / 0.7897 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.704e-05/0.006137, allocations: 176.9 kB / 0.7899 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001062/0.006243, allocations: 188.2 kB / 0.7901 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001062/0.00635, allocations: 177.5 kB / 0.7903 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.006635, allocations: 368.8 kB / 0.7906 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.564e-05/0.0067, allocations: 112.9 kB / 0.7907 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.899e-05/0.006759, allocations: 107 kB / 0.7908 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.006863, allocations: 184.2 kB / 0.791 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.006967, allocations: 184.3 kB / 0.7912 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.527e-05/0.007062, allocations: 176.3 kB / 0.7913 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-05/0.007156, allocations: 180.2 kB / 0.7915 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.007377, allocations: 316.5 kB / 0.7918 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.007438, allocations: 104.9 kB / 0.7919 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.007556, allocations: 184.7 kB / 0.7921 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.007659, allocations: 101.7 kB / 0.7922 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.685e-05/0.007756, allocations: 176.3 kB / 0.7923 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.419e-05/0.00782, allocations: 117.4 kB / 0.7925 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.603e-05/0.007906, allocations: 96.89 kB / 0.7926 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007906, allocations: 0 / 0.7926 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002367/0.008143, allocations: 4 kB / 0.7926 GB, free: 6.152 MB / 0.7448 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.0001847/0.008327, allocations: 175 kB / 0.7927 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.854e-05/0.008406, allocations: 17.3 kB / 0.7927 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.00841, allocations: 4 kB / 0.7927 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.008412, allocations: 0 / 0.7927 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.008906, allocations: 469 kB / 0.7932 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.009268, allocations: 207.7 kB / 0.7934 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.614e-05/0.009364, allocations: 68.55 kB / 0.7935 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.373e-05/0.009388, allocations: 4 kB / 0.7935 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.009423, allocations: 8.5 kB / 0.7935 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.009424, allocations: 0.8125 kB / 0.7935 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of Templates: time 0.002889/0.01231, allocations: 327.7 kB / 0.7938 GB, free: 4.863 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.794685052940622]