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.001579/0.001579, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001906/0.001906, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9711/0.9711, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.302/2.302, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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 2.424e-06/2.424e-06, allocations: 0 / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.453e-05, allocations: 9.344 kB / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001518/0.001543, allocations: 0.7441 MB / 0.8905 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001872/0.00173, allocations: 55.81 kB / 0.8905 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.001782, allocations: 0 / 0.8905 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.646e-05/0.001868, allocations: 11.92 kB / 0.8905 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.212e-05/0.0019, allocations: 7.875 kB / 0.8905 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.002023, allocations: 19.92 kB / 0.8906 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.439e-05/0.002107, allocations: 63.89 kB / 0.8906 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.002248, allocations: 62.92 kB / 0.8907 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.469e-05/0.002303, allocations: 55.91 kB / 0.8907 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.771e-05/0.002361, allocations: 35.89 kB / 0.8908 GB, free: 8.719 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.002385, allocations: 12 kB / 0.8908 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.002398, allocations: 8 kB / 0.8908 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.471e-05/0.002433, allocations: 31.91 kB / 0.8908 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.002465, allocations: 35.91 kB / 0.8908 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.002576, allocations: 83.67 kB / 0.8909 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.002579, allocations: 0 / 0.8909 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.422e-06/0.00258, allocations: 0 / 0.8909 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.002583, allocations: 0 / 0.8909 GB, free: 8.551 MB / 0.8542 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.0003037/0.002887, allocations: 428.2 kB / 0.8913 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.002919, allocations: 16.03 kB / 0.8913 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.002951, allocations: 20.89 kB / 0.8914 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.00307, allocations: 140.4 kB / 0.8915 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.003087, allocations: 12.38 kB / 0.8915 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.003104, allocations: 12.38 kB / 0.8915 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.003235, allocations: 98.84 kB / 0.8916 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.003242, allocations: 4.188 kB / 0.8916 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.003252, allocations: 4.375 kB / 0.8916 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.003256, allocations: 8.312 kB / 0.8916 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.32e-05/0.0033, allocations: 32.91 kB / 0.8917 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.00369, allocations: 387.9 kB / 0.892 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.79e-05/0.003737, allocations: 38.98 kB / 0.8921 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.245e-05/0.00375, allocations: 11.67 kB / 0.8921 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.003767, allocations: 8 kB / 0.8921 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.003783, allocations: 33.39 kB / 0.8921 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.003785, allocations: 0 / 0.8921 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001095/0.003894, allocations: 45.69 kB / 0.8922 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.003916, allocations: 55.47 kB / 0.8922 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.216e-05/0.004008, allocations: 205.8 kB / 0.8924 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.004017, allocations: 25.7 kB / 0.8924 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.004085, allocations: 178.4 kB / 0.8926 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/0.004091, allocations: 3.938 kB / 0.8926 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.004134, allocations: 47.3 kB / 0.8927 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.004246, allocations: 0.4884 MB / 0.8931 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/0.00426, allocations: 7.984 kB / 0.8931 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.004274, allocations: 7.984 kB / 0.8932 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/0.004306, allocations: 23.69 kB / 0.8932 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.004308, allocations: 4 kB / 0.8932 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.977e-05/0.004378, allocations: 69.55 kB / 0.8932 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.00439, allocations: 8 kB / 0.8933 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.004394, allocations: 0 / 0.8933 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.004402, allocations: 0 / 0.8933 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.18e-05/0.004464, allocations: 11.98 kB / 0.8933 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.004467, allocations: 4 kB / 0.8933 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.004485, allocations: 7.953 kB / 0.8933 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.004492, allocations: 4 kB / 0.8933 GB, free: 5.934 MB / 0.8542 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 6.675e-05/0.004559, allocations: 156.6 kB / 0.8934 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.004573, allocations: 7.938 kB / 0.8934 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.908e-05/0.004662, allocations: 68.88 kB / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.004664, allocations: 0 / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.004665, allocations: 0 / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.004667, allocations: 0 / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.004857, allocations: 412.9 kB / 0.8939 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.004859, allocations: 0 / 0.8939 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-05/0.00487, allocations: 3.938 kB / 0.8939 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.004872, allocations: 0 / 0.8939 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-06/0.004875, allocations: 0 / 0.8939 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.004876, allocations: 4.062 kB / 0.8939 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.00488, allocations: 8 kB / 0.8939 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.148e-05/0.004931, allocations: 80.31 kB / 0.894 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.004938, allocations: 3.953 kB / 0.894 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-06/0.004945, allocations: 0 / 0.894 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.04e-05/0.004956, allocations: 4 kB / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.004986, allocations: 3.984 kB / 0.894 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.004988, allocations: 0 / 0.894 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.479e-05/0.005033, allocations: 148.9 kB / 0.8941 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005033, allocations: 0 / 0.8941 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000123/0.005156, allocations: 23.92 kB / 0.8942 GB, free: 4.941 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: 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 7.471e-05/0.00523, allocations: 91.25 kB / 0.8943 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.789e-05/0.005288, allocations: 31.61 kB / 0.8943 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.00529, allocations: 4 kB / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.005303, allocations: 15.67 kB / 0.8943 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.005423, allocations: 7.938 kB / 0.8943 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002141/0.005637, allocations: 178 kB / 0.8945 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.255e-05/0.00567, allocations: 75.39 kB / 0.8946 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.005693, allocations: 4 kB / 0.8946 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.005744, allocations: 78.19 kB / 0.8946 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.005745, allocations: 0 / 0.8946 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of Templates: time 0.002192/0.007937, allocations: 0.7425 MB / 0.8954 GB, free: 3.676 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.051341138780117]