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.001064/0.001064, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001131/0.001131, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.026/1.026, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.122/2.122, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.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 3.166e-06/3.166e-06, allocations: 0 / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.251e-05, allocations: 4.844 kB / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002227/0.00226, allocations: 0.6292 MB / 0.88 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001705/0.00243, allocations: 8.875 kB / 0.88 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.002491, allocations: 0 / 0.88 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.002606, allocations: 8.75 kB / 0.88 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.957e-05/0.002646, allocations: 4.531 kB / 0.88 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.065e-05/0.002726, allocations: 4.844 kB / 0.88 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.002832, allocations: 23.59 kB / 0.88 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.002985, allocations: 29.27 kB / 0.8801 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.003032, allocations: 20.8 kB / 0.8801 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.806e-05/0.00307, allocations: 12.73 kB / 0.8801 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.003094, allocations: 4 kB / 0.8801 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.003105, allocations: 0.5625 kB / 0.8801 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.003142, allocations: 15.92 kB / 0.8801 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.003166, allocations: 5.156 kB / 0.8801 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.003271, allocations: 39.83 kB / 0.8802 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.003273, allocations: 0 / 0.8802 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003274, allocations: 5.094 kB / 0.8802 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.003278, allocations: 0 / 0.8802 GB, free: 5.262 MB / 0.8386 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.0003555/0.003634, allocations: 368.5 kB / 0.8805 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.003681, allocations: 12.69 kB / 0.8805 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.003717, allocations: 4.938 kB / 0.8805 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.003877, allocations: 133.2 kB / 0.8807 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.003889, allocations: 4.375 kB / 0.8807 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.003899, allocations: 5.656 kB / 0.8807 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.879e-05/0.003998, allocations: 50.19 kB / 0.8807 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.004007, allocations: 192 / 0.8807 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.004016, allocations: 5.406 kB / 0.8807 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.004025, allocations: 4.359 kB / 0.8807 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.901e-05/0.004054, allocations: 15.94 kB / 0.8807 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.004476, allocations: 0.4997 MB / 0.8812 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.00458, allocations: 265.4 kB / 0.8815 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.004629, allocations: 127.6 kB / 0.8816 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.004665, allocations: 124.2 kB / 0.8817 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/0.00472, allocations: 156.6 kB / 0.8819 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.004722, allocations: 1.125 kB / 0.8819 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.337e-05/0.004785, allocations: 29.66 kB / 0.8819 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.004858, allocations: 174.6 kB / 0.8821 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.004983, allocations: 186.6 kB / 0.8823 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.004992, allocations: 25.7 kB / 0.8823 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.00506, allocations: 147.5 kB / 0.8824 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.005062, allocations: 0 / 0.8824 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.005106, allocations: 33 kB / 0.8824 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.005261, allocations: 492.1 kB / 0.8829 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.005272, allocations: 0 / 0.8829 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.005281, allocations: 4 kB / 0.8829 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.341e-05/0.005314, allocations: 13.25 kB / 0.8829 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005316, allocations: 0 / 0.8829 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001049/0.005421, allocations: 45.69 kB / 0.883 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.005436, allocations: 4.938 kB / 0.883 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.00544, allocations: 3.938 kB / 0.883 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.005451, allocations: 0.5938 kB / 0.883 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.753e-05/0.005509, allocations: 4 kB / 0.883 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.005512, allocations: 1.594 kB / 0.883 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.299e-05/0.005605, allocations: 4 kB / 0.883 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.005619, allocations: 0 / 0.883 GB, free: 2.176 MB / 0.8386 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.0001227/0.005741, allocations: 283.6 kB / 0.8833 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.005805, allocations: 155.9 kB / 0.8834 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.005855, allocations: 156.3 kB / 0.8836 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-05/0.005918, allocations: 268.2 kB / 0.8838 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.788e-05/0.005986, allocations: 264.1 kB / 0.8841 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.688e-05/0.006053, allocations: 276 kB / 0.8843 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.006229, allocations: 488.5 kB / 0.8848 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-05/0.006263, allocations: 148.8 kB / 0.8849 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.84e-05/0.006312, allocations: 152.8 kB / 0.8851 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.199e-05/0.006374, allocations: 273.6 kB / 0.8853 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.814e-05/0.006442, allocations: 272 kB / 0.8856 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-05/0.006505, allocations: 272 kB / 0.8859 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.916e-05/0.006564, allocations: 272 kB / 0.8861 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.006698, allocations: 452 kB / 0.8866 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.006741, allocations: 152.8 kB / 0.8867 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.77e-05/0.006809, allocations: 264.1 kB / 0.887 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.933e-05/0.006868, allocations: 152.8 kB / 0.8871 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/0.006938, allocations: 272.1 kB / 0.8874 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.006974, allocations: 148.8 kB / 0.8875 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.007027, allocations: 127.2 kB / 0.8876 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007027, allocations: 0 / 0.8876 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000137/0.007164, allocations: 7.953 kB / 0.8876 GB, free: 13.24 MB / 0.8542 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.0001408/0.007305, allocations: 222.4 kB / 0.8878 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.058e-05/0.007376, allocations: 11.69 kB / 0.8879 GB, free: 13 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.007377, allocations: 0 / 0.8879 GB, free: 13 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.007378, allocations: 0 / 0.8879 GB, free: 13 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.007716, allocations: 0.7075 MB / 0.8885 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002021/0.007918, allocations: 249.3 kB / 0.8888 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.864e-05/0.007947, allocations: 59.34 kB / 0.8888 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.758e-05/0.007965, allocations: 0 / 0.8888 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.008002, allocations: 70.2 kB / 0.8889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.008003, allocations: 0 / 0.8889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of Templates: time 0.001778/0.009782, allocations: 358.4 kB / 0.8892 GB, free: 11.53 MB / 0.8542 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.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.506667661014944]