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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001636, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 194.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 469.4 MB / 0.742 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 68.42 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2491, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001805/0.251, allocations: 0.616 MB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001155/0.2511, allocations: 11.77 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.2512, allocations: 4 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.814e-05/0.2513, allocations: 0 / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.87e-05/0.2513, allocations: 3.938 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.462e-05/0.2514, allocations: 7.984 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.807e-05/0.2515, allocations: 19.98 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.2516, allocations: 31.98 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.97e-05/0.2516, allocations: 23.88 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.263e-05/0.2517, allocations: 15.92 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.2517, allocations: 0 / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.2517, allocations: 4 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.2518, allocations: 11.98 kB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.2518, allocations: 15.88 kB / 1.064 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.443e-05/0.2519, allocations: 47.81 kB / 1.064 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2519, allocations: 0 / 1.064 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.338e-06/0.2519, allocations: 4 kB / 1.064 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.2519, allocations: 3.938 kB / 1.064 GB, free: 13.75 MB / 0.8262 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.0003222/0.2522, allocations: 347.7 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2523, allocations: 16.02 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.2523, allocations: 34.75 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.2524, allocations: 8.844 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.2525, allocations: 176.3 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.2526, allocations: 4.375 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.2526, allocations: 4.375 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.2527, allocations: 74.17 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2527, allocations: 7.922 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2528, allocations: 12 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2528, allocations: 0 / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.075e-05/0.2529, allocations: 47.91 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.2533, allocations: 483.1 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.623e-05/0.2534, allocations: 173.1 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.2534, allocations: 84.14 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.2535, allocations: 79.27 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.2535, allocations: 105.8 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.2535, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.967e-05/0.2536, allocations: 41.55 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.2537, allocations: 130.6 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.2538, allocations: 167.5 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.2538, allocations: 29.7 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.2539, allocations: 96.03 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.2539, allocations: 0 / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.2539, allocations: 17.72 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.254, allocations: 314.8 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.2541, allocations: 11.98 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.13e-05/0.2541, allocations: 4 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.2541, allocations: 20.91 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2541, allocations: 0 / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001099/0.2542, allocations: 57.62 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2543, allocations: 4.109 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2543, allocations: 11.86 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.2543, allocations: 0 / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.575e-05/0.2544, allocations: 7.938 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2544, allocations: 0 / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.2544, allocations: 11.84 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.2544, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 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 9.894e-05/0.2545, allocations: 197.7 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/0.2546, allocations: 109 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.657e-05/0.2546, allocations: 110.5 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.797e-05/0.2547, allocations: 188.2 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-05/0.2548, allocations: 180.2 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.905e-05/0.2548, allocations: 184.3 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.2551, allocations: 413.2 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-05/0.2551, allocations: 108.9 kB / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.2551, allocations: 101 kB / 1.068 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.086e-05/0.2552, allocations: 188.2 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.946e-05/0.2553, allocations: 176.3 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.268e-05/0.2553, allocations: 192.2 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.015e-05/0.2554, allocations: 180.2 kB / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.2555, allocations: 311.7 kB / 1.069 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.626e-05/0.2556, allocations: 186.3 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.414e-05/0.2557, allocations: 180.3 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.97e-05/0.2558, allocations: 120.9 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.2559, allocations: 180.3 kB / 1.07 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/0.2559, allocations: 104.9 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.774e-05/0.256, allocations: 128.8 kB / 1.07 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.256, allocations: 0 / 1.07 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002244/0.2562, allocations: 8 kB / 1.07 GB, free: 7.293 MB / 0.8262 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.0003744/0.2566, allocations: 0.8048 MB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.879e-05/0.2567, allocations: 19.92 kB / 1.071 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2567, allocations: 0 / 1.071 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.2567, allocations: 0 / 1.071 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.2571, allocations: 467.7 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.2582, allocations: 1.484 MB / 1.073 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.2584, allocations: 0.6884 MB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.206e-05/0.2584, allocations: 7.984 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.2585, allocations: 15.44 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2585, allocations: 7.875 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.2736, allocations: 1.545 MB / 1.075 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.159/7.432, allocations: 9.344 kB / 1.075 GB, free: 2.242 MB / 0.8262 GB (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 50 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches