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.001762/0.001762, allocations: 111 kB / 16.46 MB, free: 6.453 MB / 14.72 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.002093/0.002093, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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.521/1.521, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.198/3.198, allocations: 0.49 GB / 0.7916 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0028/0.0028, allocations: 76.86 kB / 1.149 GB, free: 26.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3415, allocations: 176.1 MB / 1.321 GB, free: 3.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002123/0.3436, allocations: 0.6129 MB / 1.321 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001652/0.3438, allocations: 15.97 kB / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.3438, allocations: 0 / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.3439, allocations: 7.938 kB / 1.321 GB, free: 2.75 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.297e-05/0.344, allocations: 4 kB / 1.321 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.276e-05/0.344, allocations: 0 / 1.321 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.866e-05/0.3441, allocations: 19.98 kB / 1.321 GB, free: 2.727 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.3443, allocations: 32.14 kB / 1.321 GB, free: 2.695 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.3443, allocations: 15.94 kB / 1.321 GB, free: 2.68 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.737e-05/0.3444, allocations: 19.92 kB / 1.321 GB, free: 2.66 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.3444, allocations: 0 / 1.321 GB, free: 2.66 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.3444, allocations: 4 kB / 1.322 GB, free: 2.656 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/0.3444, allocations: 15.92 kB / 1.322 GB, free: 2.641 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.3445, allocations: 23.86 kB / 1.322 GB, free: 2.617 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.3446, allocations: 31.89 kB / 1.322 GB, free: 2.586 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3446, allocations: 4 kB / 1.322 GB, free: 2.582 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.338e-06/0.3446, allocations: 3.984 kB / 1.322 GB, free: 2.578 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.3446, allocations: 0 / 1.322 GB, free: 2.578 MB / 1.014 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.0004307/0.345, allocations: 351.2 kB / 1.322 GB, free: 2.184 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.3451, allocations: 19.98 kB / 1.322 GB, free: 2.164 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.434e-05/0.3451, allocations: 34.75 kB / 1.322 GB, free: 2.121 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.3452, allocations: 8.922 kB / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.3454, allocations: 180.3 kB / 1.322 GB, free: 1.898 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-06/0.3454, allocations: 384 / 1.322 GB, free: 1.898 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.3454, allocations: 4.375 kB / 1.322 GB, free: 1.895 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.3456, allocations: 82.22 kB / 1.322 GB, free: 1.809 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3456, allocations: 7.922 kB / 1.322 GB, free: 1.801 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3456, allocations: 0 / 1.322 GB, free: 1.801 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3457, allocations: 4 kB / 1.322 GB, free: 1.797 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.3457, allocations: 47.97 kB / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.3463, allocations: 491.1 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.3464, allocations: 165.5 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.3465, allocations: 88.19 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.3465, allocations: 83.22 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.431e-05/0.3466, allocations: 105.9 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.3466, allocations: 0 / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 9.192e-05/0.3466, allocations: 41.64 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.3467, allocations: 130.6 kB / 1.323 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.3469, allocations: 172.3 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.3469, allocations: 25.7 kB / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/0.347, allocations: 96.08 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-06/0.347, allocations: 4 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.347, allocations: 13.7 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3472, allocations: 318.8 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.07e-05/0.3472, allocations: 7.984 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.826e-05/0.3472, allocations: 15.94 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.797e-05/0.3473, allocations: 12.84 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3473, allocations: 4.062 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001283/0.3474, allocations: 53.64 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3474, allocations: 4 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3474, allocations: 0 / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3474, allocations: 0 / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-05/0.3475, allocations: 7.938 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3475, allocations: 0 / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.3475, allocations: 15.88 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3475, allocations: 4 kB / 1.324 GB, free: 15.79 MB / 1.029 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.0001213/0.3477, allocations: 198.6 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/0.3477, allocations: 109 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.265e-05/0.3478, allocations: 108.9 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.717e-05/0.3479, allocations: 188.1 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-05/0.348, allocations: 176.3 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.113e-05/0.348, allocations: 192.2 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.3483, allocations: 417.2 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.496e-05/0.3484, allocations: 101 kB / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.069e-05/0.3484, allocations: 104.9 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-05/0.3485, allocations: 176.3 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.533e-05/0.3486, allocations: 188.2 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-05/0.3487, allocations: 184.2 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.531e-05/0.3488, allocations: 176.3 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.3489, allocations: 315.7 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.349, allocations: 194 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.69e-05/0.3491, allocations: 188.5 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.286e-05/0.3492, allocations: 104.9 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.074e-05/0.3493, allocations: 184.2 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.3494, allocations: 109 kB / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001153/0.3495, allocations: 129.4 kB / 1.327 GB, free: 12.1 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3495, allocations: 0 / 1.327 GB, free: 12.1 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002247/0.3497, allocations: 4 kB / 1.327 GB, free: 12.1 MB / 1.029 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.0005095/0.3502, allocations: 0.8165 MB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.105e-05/0.3503, allocations: 7.984 kB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3503, allocations: 3.938 kB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.3503, allocations: 0 / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.3508, allocations: 479.5 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.3523, allocations: 1.479 MB / 1.33 GB, free: 9.215 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.3526, allocations: 0.6883 MB / 1.331 GB, free: 8.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.58e-05/0.3526, allocations: 4 kB / 1.331 GB, free: 8.496 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.3526, allocations: 15.44 kB / 1.331 GB, free: 8.48 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/0.3526, allocations: 4.031 kB / 1.331 GB, free: 8.477 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.3781, allocations: 1.588 MB / 1.332 GB, free: 7.031 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.535, allocations: 10.23 kB / 1.332 GB, free: 7.023 MB / 1.029 GB " [Timeout remaining time 291] (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/jenkins1/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: 15.354906427208334]