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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 103.6 kB / 17.54 MB, free: 4.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 186.6 kB / 20.71 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.471/2.471, allocations: 476.7 MB / 0.7628 GB, free: 15.36 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 63.91 kB / 1.107 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7436/0.7454, allocations: 168.7 MB / 1.271 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001492/0.7469, allocations: 0.6144 MB / 1.272 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001122/0.747, allocations: 14.73 kB / 1.272 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.097e-05/0.747, allocations: 0.75 kB / 1.272 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.368e-05/0.7471, allocations: 6 kB / 1.272 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.295e-05/0.7471, allocations: 4.781 kB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.605e-05/0.7472, allocations: 2.812 kB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.027e-05/0.7472, allocations: 23.28 kB / 1.272 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.7474, allocations: 25.98 kB / 1.272 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.997e-05/0.7474, allocations: 15.97 kB / 1.272 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.649e-05/0.7474, allocations: 13.88 kB / 1.272 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.7474, allocations: 3 kB / 1.272 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.7474, allocations: 3 kB / 1.272 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.7475, allocations: 13.12 kB / 1.272 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.7475, allocations: 25.45 kB / 1.272 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.683e-05/0.7476, allocations: 47.97 kB / 1.272 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7476, allocations: 1.344 kB / 1.272 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7476, allocations: 0 / 1.272 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.7476, allocations: 0.7812 kB / 1.272 GB, free: 7.289 MB / 0.9981 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.0002326/0.7478, allocations: 345.7 kB / 1.272 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.7478, allocations: 9.031 kB / 1.272 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.17e-05/0.7479, allocations: 34.84 kB / 1.273 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.122e-05/0.7479, allocations: 8.172 kB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.748, allocations: 183.8 kB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.748, allocations: 5.875 kB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.748, allocations: 8.281 kB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.7482, allocations: 81.86 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.7482, allocations: 4.75 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.7482, allocations: 0.7812 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.7482, allocations: 4.688 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.978e-05/0.7483, allocations: 50.36 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.7486, allocations: 498.1 kB / 1.273 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.334e-05/0.7486, allocations: 166.7 kB / 1.273 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.153e-05/0.7486, allocations: 80.14 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.7486, allocations: 75.84 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.7486, allocations: 107.4 kB / 1.274 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.7487, allocations: 4.688 kB / 1.274 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.16e-05/0.7487, allocations: 32.95 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.7487, allocations: 131.9 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.7489, allocations: 177.2 kB / 1.274 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-06/0.7489, allocations: 26.58 kB / 1.274 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.7489, allocations: 92.73 kB / 1.274 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.7489, allocations: 0.9062 kB / 1.274 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.7489, allocations: 13.64 kB / 1.274 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.406e-05/0.749, allocations: 322.8 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.749, allocations: 10.78 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.209e-05/0.749, allocations: 6.719 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.647e-05/0.749, allocations: 12.66 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.749, allocations: 3.938 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.374e-05/0.7491, allocations: 56.95 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.7491, allocations: 5.828 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.7491, allocations: 4.094 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.7491, allocations: 1.438 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.716e-05/0.7492, allocations: 7.359 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.7492, allocations: 4.688 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.7492, allocations: 4.016 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.7492, allocations: 1.562 kB / 1.275 GB, free: 4.855 MB / 0.9981 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 4.885e-05/0.7493, allocations: 195 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.7493, allocations: 112.8 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.7493, allocations: 118.2 kB / 1.275 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.7493, allocations: 181.5 kB / 1.275 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.919e-05/0.7494, allocations: 182.4 kB / 1.275 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.7494, allocations: 178.2 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.7495, allocations: 422.4 kB / 1.276 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.7495, allocations: 107 kB / 1.276 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.971e-05/0.7496, allocations: 101.6 kB / 1.276 GB, free: 19.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.676e-05/0.7497, allocations: 182.1 kB / 1.276 GB, free: 19.03 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/0.7497, allocations: 177.7 kB / 1.276 GB, free: 18.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.575e-05/0.7498, allocations: 189.9 kB / 1.277 GB, free: 18.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.255e-05/0.7498, allocations: 178.7 kB / 1.277 GB, free: 18.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.75, allocations: 314.6 kB / 1.277 GB, free: 18.16 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-05/0.7501, allocations: 188 kB / 1.277 GB, free: 17.95 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.581e-05/0.7501, allocations: 181.6 kB / 1.278 GB, free: 17.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.7502, allocations: 107.4 kB / 1.278 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/0.7503, allocations: 186.5 kB / 1.278 GB, free: 17.47 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.7503, allocations: 106.7 kB / 1.278 GB, free: 17.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001004/0.7504, allocations: 132.8 kB / 1.278 GB, free: 17.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.7504, allocations: 0 / 1.278 GB, free: 17.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002006/0.7506, allocations: 4.5 kB / 1.278 GB, free: 17.27 MB / 1.014 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.0003907/0.751, allocations: 0.8121 MB / 1.279 GB, free: 16.46 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.353e-05/0.7511, allocations: 19.91 kB / 1.279 GB, free: 16.45 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7511, allocations: 0 / 1.279 GB, free: 16.45 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.7511, allocations: 0.7188 kB / 1.279 GB, free: 16.45 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.7515, allocations: 459.3 kB / 1.279 GB, free: 16 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.7525, allocations: 1.497 MB / 1.281 GB, free: 14.63 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.7528, allocations: 0.6879 MB / 1.281 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.154e-05/0.7528, allocations: 5.969 kB / 1.281 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.7528, allocations: 20.73 kB / 1.281 GB, free: 13.91 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.7528, allocations: 0.8125 kB / 1.281 GB, free: 13.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.7764, allocations: 1.562 MB / 1.283 GB, free: 13.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.972/7.749, allocations: 7.922 kB / 1.283 GB, free: 13.52 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.036870372998237]