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.001322/0.001322, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001107/0.001107, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9964/0.9964, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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 1.831/1.831, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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 1.743e-06/1.743e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.904e-05, allocations: 7.25 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.004456/0.004475, allocations: 0.6299 MB / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001644/0.00464, allocations: 12.53 kB / 0.7877 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.402e-05/0.004694, allocations: 1 kB / 0.7877 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.004795, allocations: 7.938 kB / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.225e-05/0.004827, allocations: 3.938 kB / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 7.234e-05/0.0049, allocations: 0.7188 kB / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.716e-05/0.004987, allocations: 27.92 kB / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.005119, allocations: 20.84 kB / 0.7878 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.732e-05/0.005157, allocations: 19.98 kB / 0.7878 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.895e-05/0.005186, allocations: 9.016 kB / 0.7878 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.005208, allocations: 4 kB / 0.7878 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.005219, allocations: 0 / 0.7878 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.005254, allocations: 12.75 kB / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.005283, allocations: 11.98 kB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.414e-05/0.005378, allocations: 36.97 kB / 0.7879 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.005379, allocations: 0 / 0.7879 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.00538, allocations: 4 kB / 0.7879 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.005384, allocations: 1.531 kB / 0.7879 GB, free: 11.75 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.0003057/0.00569, allocations: 372.5 kB / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.005727, allocations: 12.03 kB / 0.7882 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.005767, allocations: 12.88 kB / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.005917, allocations: 126 kB / 0.7884 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.005927, allocations: 4.375 kB / 0.7884 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.00594, allocations: 384 / 0.7884 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.006051, allocations: 58.17 kB / 0.7884 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.006062, allocations: 3.281 kB / 0.7884 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.006071, allocations: 4.375 kB / 0.7884 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.006079, allocations: 384 / 0.7884 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.006115, allocations: 19.88 kB / 0.7885 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.006539, allocations: 0.5331 MB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.974e-05/0.006629, allocations: 265.4 kB / 0.7892 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/0.006665, allocations: 126.9 kB / 0.7893 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.006693, allocations: 119.2 kB / 0.7895 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.006741, allocations: 153.7 kB / 0.7896 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.006742, allocations: 0 / 0.7896 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.000202/0.006944, allocations: 38.36 kB / 0.7896 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.006995, allocations: 175.1 kB / 0.7898 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.007106, allocations: 181.9 kB / 0.79 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.007113, allocations: 26.42 kB / 0.79 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.003078/0.01019, allocations: 143.3 kB / 0.7901 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-06/0.0102, allocations: 0 / 0.7901 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.01023, allocations: 24.97 kB / 0.7902 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.01037, allocations: 0.4922 MB / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.01038, allocations: 0 / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.01038, allocations: 0 / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.553e-05/0.01042, allocations: 16.31 kB / 0.7907 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01042, allocations: 0.8125 kB / 0.7907 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000104/0.01053, allocations: 42.16 kB / 0.7907 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.01054, allocations: 4 kB / 0.7907 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01055, allocations: 8.578 kB / 0.7907 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.01056, allocations: 0.6875 kB / 0.7907 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.437e-05/0.01062, allocations: 7.938 kB / 0.7907 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.01062, allocations: 1.375 kB / 0.7907 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.01064, allocations: 4 kB / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.01065, allocations: 0 / 0.7907 GB, free: 8.609 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 8.544e-05/0.01074, allocations: 281.4 kB / 0.791 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.01078, allocations: 148.8 kB / 0.7911 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.01083, allocations: 160.3 kB / 0.7913 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-05/0.0109, allocations: 268.2 kB / 0.7916 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.156e-05/0.01096, allocations: 268 kB / 0.7918 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.073e-05/0.01102, allocations: 270 kB / 0.7921 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.01125, allocations: 0.5037 MB / 0.7926 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.739e-05/0.01128, allocations: 152.9 kB / 0.7927 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.01132, allocations: 148.9 kB / 0.7928 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.17e-05/0.01138, allocations: 268 kB / 0.7931 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.997e-05/0.01144, allocations: 268.8 kB / 0.7934 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-05/0.0115, allocations: 274.5 kB / 0.7936 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.06e-05/0.01156, allocations: 268.1 kB / 0.7939 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.0117, allocations: 451.9 kB / 0.7943 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.01174, allocations: 148.8 kB / 0.7944 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-05/0.01182, allocations: 276 kB / 0.7947 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.01189, allocations: 144.9 kB / 0.7948 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.01196, allocations: 268 kB / 0.7951 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.012, allocations: 154.7 kB / 0.7953 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.001e-05/0.01206, allocations: 139.5 kB / 0.7954 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01206, allocations: 0 / 0.7954 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002197/0.01228, allocations: 7.938 kB / 0.7954 GB, free: 3.648 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.0001073/0.01238, allocations: 215 kB / 0.7956 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.771e-05/0.01245, allocations: 12.25 kB / 0.7956 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.01245, allocations: 5.688 kB / 0.7956 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.01246, allocations: 3.938 kB / 0.7956 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.01279, allocations: 0.7061 MB / 0.7963 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.01303, allocations: 253.3 kB / 0.7965 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.036e-05/0.01306, allocations: 61.56 kB / 0.7966 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.661e-05/0.01307, allocations: 0 / 0.7966 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.0131, allocations: 8.5 kB / 0.7966 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of SimCode: time 9.72e-07/0.0131, allocations: 0 / 0.7966 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of Templates: time 0.002022/0.01512, allocations: 326.5 kB / 0.7969 GB, free: 2.027 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 240] 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","",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.155394698027521]