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.0008219/0.0008219, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0009853/0.0009853, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8723/0.8723, allocations: 177.2 MB / 202.8 MB, free: 5.734 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 1.772/1.772, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.056e-06/3.056e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.283e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001328/0.001351, allocations: 0.6064 MB / 1 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001266/0.001477, allocations: 4 kB / 1 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.001531, allocations: 4 kB / 1 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.00164, allocations: 3.938 kB / 1 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.151e-05/0.001672, allocations: 7.984 kB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.597e-05/0.001738, allocations: 4 kB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.57e-05/0.001813, allocations: 27.91 kB / 1 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.001921, allocations: 27.92 kB / 1 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.256e-05/0.001954, allocations: 15.98 kB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.724e-05/0.001981, allocations: 15.92 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.002, allocations: 4 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.815e-06/0.002008, allocations: 0 / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.572e-05/0.002034, allocations: 11.98 kB / 1 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.002056, allocations: 7.938 kB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.169e-05/0.002137, allocations: 51.86 kB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.002139, allocations: 3.938 kB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.72e-07/0.00214, allocations: 0 / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.002143, allocations: 0 / 1 GB, free: 12.7 MB / 0.9636 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.0002433/0.002387, allocations: 274.2 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.002423, allocations: 12.73 kB / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.851e-05/0.002451, allocations: 38.75 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.002483, allocations: 8.891 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.002624, allocations: 121.7 kB / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-06/0.002631, allocations: 384 / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.002639, allocations: 4.375 kB / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.002753, allocations: 82.23 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.00276, allocations: 192 / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.002766, allocations: 384 / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.002772, allocations: 4.125 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.308e-05/0.002825, allocations: 55.89 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.003155, allocations: 450.2 kB / 1.001 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.728e-05/0.003212, allocations: 169.1 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.273e-05/0.003235, allocations: 80.14 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.003251, allocations: 79.28 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.003282, allocations: 113.8 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.003283, allocations: 4 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 4.832e-05/0.003331, allocations: 41.58 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.003369, allocations: 126.7 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.003484, allocations: 167.4 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.003492, allocations: 33.69 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.003531, allocations: 88.14 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-06/0.003534, allocations: 4 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.003555, allocations: 9.719 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.284e-05/0.003628, allocations: 322.8 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.003639, allocations: 8 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.178e-06/0.003648, allocations: 7.984 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.596e-05/0.003674, allocations: 16.92 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.003676, allocations: 4 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.476e-05/0.003761, allocations: 61.5 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.003771, allocations: 4 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.003775, allocations: 0 / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.003785, allocations: 4 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.467e-05/0.003829, allocations: 0 / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.003834, allocations: 0 / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.664e-05/0.00385, allocations: 11.88 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.003859, allocations: 8.031 kB / 1.003 GB, free: 10.13 MB / 0.9636 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.727e-05/0.003926, allocations: 193.1 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.003963, allocations: 108.9 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.004001, allocations: 117.5 kB / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.733e-05/0.004038, allocations: 180.3 kB / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-05/0.004076, allocations: 176.3 kB / 1.003 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-05/0.004113, allocations: 184.2 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.004256, allocations: 400.2 kB / 1.004 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/0.004279, allocations: 104.9 kB / 1.004 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.467e-05/0.004304, allocations: 101.2 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.804e-05/0.004342, allocations: 188.1 kB / 1.004 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.004383, allocations: 188.3 kB / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.611e-05/0.004419, allocations: 180.2 kB / 1.005 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.815e-05/0.004457, allocations: 180.2 kB / 1.005 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.282e-05/0.00454, allocations: 311.7 kB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.004576, allocations: 116.9 kB / 1.005 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.00462, allocations: 180.3 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.771e-05/0.004667, allocations: 104.9 kB / 1.006 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.004708, allocations: 180.3 kB / 1.006 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.004731, allocations: 104.9 kB / 1.006 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.361e-05/0.004794, allocations: 136.6 kB / 1.006 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.004794, allocations: 4 kB / 1.006 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001336/0.004928, allocations: 4 kB / 1.006 GB, free: 6.562 MB / 0.9636 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.00023/0.005158, allocations: 0.8088 MB / 1.007 GB, free: 5.727 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.032e-05/0.005208, allocations: 11.92 kB / 1.007 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.005209, allocations: 0 / 1.007 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.005211, allocations: 4 kB / 1.007 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.005475, allocations: 463.6 kB / 1.007 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007609/0.006236, allocations: 1.496 MB / 1.009 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.279e-05/0.006279, allocations: 67.45 kB / 1.009 GB, free: 3.59 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.963e-05/0.006298, allocations: 8 kB / 1.009 GB, free: 3.582 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.006332, allocations: 16.5 kB / 1.009 GB, free: 3.566 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.006333, allocations: 0 / 1.009 GB, free: 3.566 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.0202, allocations: 2.242 MB / 1.011 GB, free: 1.477 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.387/6.407, allocations: 4 kB / 1.011 GB, free: 1.473 MB / 0.9636 GB " [Timeout remaining time 294] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.484839865937829]