Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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.MultiMinInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",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.001687/0.001687, allocations: 108 kB / 15.6 MB, free: 132 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.001842/0.001842, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.02 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2505, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001832/0.2523, allocations: 0.6023 MB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000117/0.2525, allocations: 8 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.074e-05/0.2525, allocations: 0 / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.451e-05/0.2526, allocations: 11.88 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.812e-05/0.2527, allocations: 4 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.726e-05/0.2528, allocations: 4 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.653e-05/0.2528, allocations: 31.91 kB / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.253, allocations: 27.98 kB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.795e-05/0.253, allocations: 15.92 kB / 1.064 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.756e-05/0.253, allocations: 11.94 kB / 1.064 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.2531, allocations: 4 kB / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.2531, allocations: 4 kB / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.2531, allocations: 11.98 kB / 1.064 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.2532, allocations: 15.88 kB / 1.064 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.636e-05/0.2533, allocations: 55.8 kB / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2533, allocations: 0 / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2533, allocations: 0 / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2533, allocations: 0 / 1.064 GB, free: 13.71 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.0003283/0.2536, allocations: 347.7 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2537, allocations: 8.031 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.489e-05/0.2537, allocations: 42.73 kB / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.2537, allocations: 4.844 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.2539, allocations: 172.3 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.2539, allocations: 12.36 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.2539, allocations: 12.31 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.2541, allocations: 74.17 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2541, allocations: 3.938 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2541, allocations: 4 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.2541, allocations: 8 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.231e-05/0.2542, allocations: 47.97 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.2547, allocations: 479.1 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.916e-05/0.2548, allocations: 169.1 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.2548, allocations: 80.14 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.2548, allocations: 79.27 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.886e-05/0.2549, allocations: 117.8 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.2549, allocations: 0 / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.827e-05/0.255, allocations: 45.53 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.2551, allocations: 130.6 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.2552, allocations: 168.8 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.2552, allocations: 25.7 kB / 1.066 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.2553, allocations: 96.05 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.2553, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.2553, allocations: 17.7 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2555, allocations: 314.8 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.2555, allocations: 11.98 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.181e-05/0.2555, allocations: 4 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.945e-05/0.2555, allocations: 24.78 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2555, allocations: 0 / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000113/0.2557, allocations: 45.69 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2557, allocations: 8 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2557, allocations: 0 / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.2557, allocations: 0 / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.684e-05/0.2558, allocations: 12.14 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2558, allocations: 7.922 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/0.2558, allocations: 11.84 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.2558, allocations: 0 / 1.067 GB, free: 10.94 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 (mulMin.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.0001028/0.2559, allocations: 197.6 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.256, allocations: 104.9 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.566e-05/0.2561, allocations: 110.5 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.314e-05/0.2561, allocations: 188.1 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.278e-05/0.2562, allocations: 188.2 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.135e-05/0.2563, allocations: 176.3 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.2565, allocations: 417.1 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.225e-05/0.2565, allocations: 105 kB / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.2566, allocations: 104.9 kB / 1.068 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.968e-05/0.2566, allocations: 184.3 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.035e-05/0.2567, allocations: 180.2 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-05/0.2568, allocations: 188.2 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.27e-05/0.2568, allocations: 176.3 kB / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.257, allocations: 315.7 kB / 1.069 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.589e-05/0.2571, allocations: 190.2 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.638e-05/0.2572, allocations: 180.2 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.465e-05/0.2572, allocations: 113 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.2573, allocations: 188.2 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.2574, allocations: 109 kB / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.705e-05/0.2575, allocations: 129.3 kB / 1.07 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2575, allocations: 0 / 1.07 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002252/0.2577, allocations: 4 kB / 1.07 GB, free: 7.246 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.000393/0.2581, allocations: 0.8164 MB / 1.071 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.233e-05/0.2582, allocations: 15.98 kB / 1.071 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2582, allocations: 0 / 1.071 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.2582, allocations: 0 / 1.071 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.2586, allocations: 467.6 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.2598, allocations: 1.488 MB / 1.073 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.2601, allocations: 0.6883 MB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.57e-05/0.2602, allocations: 7.984 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.2602, allocations: 19.44 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2602, allocations: 0 / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.2769, allocations: 1.542 MB / 1.075 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.276/7.553, allocations: 15.81 kB / 1.075 GB, free: 2.188 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_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_MultiMinInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches