Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00081/0.00081, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009448/0.0009448, allocations: 169.9 kB / 22.45 MB, free: 2.109 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.8454/0.8454, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.688/1.688, allocations: 377.8 MB / 0.6221 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 0.9809 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.933e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001254/0.001274, allocations: 0.6257 MB / 0.9816 GB, free: 1.949 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001456/0.001419, allocations: 11.98 kB / 0.9816 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.001471, allocations: 4 kB / 0.9816 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 8.419e-05/0.001555, allocations: 3.938 kB / 0.9816 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.094e-05/0.001586, allocations: 0 / 0.9816 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 6.831e-05/0.001654, allocations: 4 kB / 0.9816 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.631e-05/0.001731, allocations: 23.92 kB / 0.9816 GB, free: 1.902 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.001843, allocations: 27.91 kB / 0.9816 GB, free: 1.875 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.202e-05/0.001875, allocations: 19.92 kB / 0.9816 GB, free: 1.855 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.982e-05/0.001905, allocations: 11.98 kB / 0.9817 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.001926, allocations: 4 kB / 0.9817 GB, free: 1.84 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-06/0.001934, allocations: 4 kB / 0.9817 GB, free: 1.836 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.861e-05/0.001963, allocations: 19.92 kB / 0.9817 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.001985, allocations: 4 kB / 0.9817 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.971e-05/0.002084, allocations: 43.86 kB / 0.9817 GB, free: 1.77 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.002086, allocations: 4 kB / 0.9817 GB, free: 1.766 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.32e-07/0.002087, allocations: 0 / 0.9817 GB, free: 1.766 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.002091, allocations: 0 / 0.9817 GB, free: 1.766 MB / 0.9323 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.0002546/0.002345, allocations: 270.2 kB / 0.982 GB, free: 1.469 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.00238, allocations: 12.03 kB / 0.982 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.002414, allocations: 38.69 kB / 0.982 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.015e-05/0.002434, allocations: 8.891 kB / 0.982 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.002585, allocations: 125.7 kB / 0.9822 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.002593, allocations: 8.375 kB / 0.9822 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-06/0.002602, allocations: 4.375 kB / 0.9822 GB, free: 1.242 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.002721, allocations: 78.22 kB / 0.9823 GB, free: 1.16 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.002727, allocations: 192 / 0.9823 GB, free: 1.16 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.002735, allocations: 384 / 0.9823 GB, free: 1.16 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.00274, allocations: 8.125 kB / 0.9823 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.267e-05/0.002793, allocations: 51.91 kB / 0.9823 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.003128, allocations: 446.3 kB / 0.9827 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.276e-05/0.003191, allocations: 173.1 kB / 0.9829 GB, free: 452 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.747e-05/0.003219, allocations: 84.08 kB / 0.983 GB, free: 364 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.003235, allocations: 79.28 kB / 0.9831 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.003266, allocations: 109.8 kB / 0.9832 GB, free: 164 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.003266, allocations: 4 kB / 0.9832 GB, free: 160 kB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 4.775e-05/0.003314, allocations: 29.7 kB / 0.9832 GB, free: 124 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.003366, allocations: 130.6 kB / 0.9833 GB, free: 15.98 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.003478, allocations: 180.6 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.003485, allocations: 25.7 kB / 0.9835 GB, free: 15.77 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.003522, allocations: 88.14 kB / 0.9836 GB, free: 15.68 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.003524, allocations: 112 / 0.9836 GB, free: 15.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.003548, allocations: 25.64 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.865e-05/0.003616, allocations: 314.8 kB / 0.9839 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.003631, allocations: 15.98 kB / 0.9839 GB, free: 15.31 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.278e-06/0.003641, allocations: 8 kB / 0.9839 GB, free: 15.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.885e-05/0.003669, allocations: 16.84 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.003671, allocations: 0 / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.663e-05/0.003758, allocations: 53.58 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.003768, allocations: 8 kB / 0.984 GB, free: 15.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.003772, allocations: 0 / 0.984 GB, free: 15.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.003782, allocations: 0 / 0.984 GB, free: 15.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.815e-05/0.00383, allocations: 7.984 kB / 0.984 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.003834, allocations: 4.094 kB / 0.984 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.003852, allocations: 11.88 kB / 0.984 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.003861, allocations: 0 / 0.984 GB, free: 15.2 MB / 0.948 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 6.792e-05/0.003928, allocations: 193.1 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.003965, allocations: 112.9 kB / 0.9843 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.003997, allocations: 112.7 kB / 0.9844 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.669e-05/0.004034, allocations: 176.3 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.012e-05/0.004074, allocations: 180.2 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.965e-05/0.004114, allocations: 188.2 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.004345, allocations: 388.3 kB / 0.9853 GB, free: 13.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.237e-05/0.004367, allocations: 108.9 kB / 0.9854 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.00439, allocations: 109.1 kB / 0.9855 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.18e-05/0.004432, allocations: 180.2 kB / 0.9857 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.723e-05/0.004479, allocations: 188.2 kB / 0.9859 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.482e-05/0.004514, allocations: 180.3 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.491e-05/0.004549, allocations: 184.2 kB / 0.9862 GB, free: 12.81 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.004657, allocations: 315.6 kB / 0.9865 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.004686, allocations: 109 kB / 0.9866 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.004728, allocations: 176.3 kB / 0.9868 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.896e-05/0.004777, allocations: 112.9 kB / 0.9869 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.004815, allocations: 176.3 kB / 0.9871 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.004836, allocations: 112.9 kB / 0.9872 GB, free: 11.77 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.762e-05/0.004934, allocations: 135.2 kB / 0.9873 GB, free: 11.64 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004934, allocations: 0 / 0.9873 GB, free: 11.64 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001362/0.00507, allocations: 8 kB / 0.9873 GB, free: 11.63 MB / 0.948 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.0002532/0.005323, allocations: 0.817 MB / 0.9881 GB, free: 10.78 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.071e-05/0.005384, allocations: 4 kB / 0.9881 GB, free: 10.78 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.005385, allocations: 0 / 0.9881 GB, free: 10.78 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.764e-06/0.005387, allocations: 3.938 kB / 0.9881 GB, free: 10.77 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.005644, allocations: 465.5 kB / 0.9886 GB, free: 10.32 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007351/0.006379, allocations: 1.488 MB / 0.99 GB, free: 8.746 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.418e-05/0.006424, allocations: 75.33 kB / 0.9901 GB, free: 8.652 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.802e-05/0.006442, allocations: 4 kB / 0.9901 GB, free: 8.648 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.006478, allocations: 24.48 kB / 0.9901 GB, free: 8.625 MB / 0.948 GB Notification: Performance of SimCode: time 2.9e-07/0.006478, allocations: 0 / 0.9901 GB, free: 8.625 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01211/0.01859, allocations: 2.244 MB / 0.9923 GB, free: 6.535 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.385/6.403, allocations: 4.062 kB / 0.9923 GB, free: 6.531 MB / 0.948 GB " [Timeout remaining time 294] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.357730815187097]