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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.007486/0.007486, allocations: 99.81 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.586/2.586, allocations: 469.4 MB / 0.7422 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 1.064 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.675/0.6762, allocations: 159.1 MB / 1.22 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001583/0.6778, allocations: 0.612 MB / 1.22 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001227/0.678, allocations: 8 kB / 1.22 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.678, allocations: 0 / 1.22 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.552e-05/0.6781, allocations: 7.922 kB / 1.22 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.596e-05/0.6781, allocations: 0 / 1.22 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.554e-05/0.6782, allocations: 8 kB / 1.22 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.044e-05/0.6783, allocations: 23.86 kB / 1.22 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.6784, allocations: 35.98 kB / 1.22 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.195e-05/0.6785, allocations: 11.94 kB / 1.22 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.096e-05/0.6785, allocations: 23.91 kB / 1.22 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.6785, allocations: 4 kB / 1.22 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.6785, allocations: 4 kB / 1.22 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.786e-05/0.6786, allocations: 8 kB / 1.22 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.6786, allocations: 19.86 kB / 1.22 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.684e-05/0.6787, allocations: 43.62 kB / 1.221 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.6787, allocations: 0 / 1.221 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6787, allocations: 0 / 1.221 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.6787, allocations: 0 / 1.221 GB, free: 1.535 MB / 0.9356 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.0003209/0.6791, allocations: 351.2 kB / 1.221 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.6791, allocations: 12.62 kB / 1.221 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.241e-05/0.6791, allocations: 38.75 kB / 1.221 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.6792, allocations: 4.891 kB / 1.221 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.6793, allocations: 184.2 kB / 1.221 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.6794, allocations: 8.375 kB / 1.221 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.6794, allocations: 4.375 kB / 1.221 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.6795, allocations: 78.16 kB / 1.221 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.6795, allocations: 3.938 kB / 1.221 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.6796, allocations: 4 kB / 1.221 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.6796, allocations: 8 kB / 1.221 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.174e-05/0.6796, allocations: 47.91 kB / 1.221 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.6801, allocations: 491.1 kB / 1.222 GB, free: 180 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.778e-05/0.6801, allocations: 169.1 kB / 1.222 GB, free: 0 / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.6802, allocations: 80.2 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.6802, allocations: 87.27 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.6803, allocations: 109.8 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.6803, allocations: 0 / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 6.46e-05/0.6803, allocations: 29.7 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.6804, allocations: 138.5 kB / 1.222 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.6806, allocations: 171.3 kB / 1.222 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.6806, allocations: 25.7 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.6806, allocations: 96.09 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-06/0.6806, allocations: 4 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.6807, allocations: 13.72 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.654e-05/0.6808, allocations: 314.9 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.6808, allocations: 8 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.62e-05/0.6808, allocations: 16.09 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.6808, allocations: 20.78 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6808, allocations: 4.062 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001046/0.681, allocations: 45.69 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.681, allocations: 11.94 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.681, allocations: 0 / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.681, allocations: 0 / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.276e-05/0.681, allocations: 7.938 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.6811, allocations: 0 / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.684e-05/0.6811, allocations: 7.953 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.6811, allocations: 3.984 kB / 1.223 GB, free: 14.75 MB / 0.9512 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 9.252e-05/0.6812, allocations: 197.2 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.6813, allocations: 108.9 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.6813, allocations: 112.8 kB / 1.223 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-05/0.6814, allocations: 184.2 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.051e-05/0.6814, allocations: 176.3 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.789e-05/0.6815, allocations: 192.2 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.6817, allocations: 413.2 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.082e-05/0.6818, allocations: 104.9 kB / 1.224 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.6818, allocations: 105 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.327e-05/0.6819, allocations: 180.3 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.534e-05/0.6819, allocations: 180.2 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-05/0.682, allocations: 188.2 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.826e-05/0.6821, allocations: 185.1 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.6822, allocations: 299.8 kB / 1.225 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.038e-05/0.6822, allocations: 197.9 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.13e-05/0.6823, allocations: 184.3 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.768e-05/0.6824, allocations: 112.9 kB / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.6825, allocations: 180.3 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.6825, allocations: 101.3 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.705e-05/0.6826, allocations: 133.2 kB / 1.226 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6826, allocations: 0 / 1.226 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002199/0.6828, allocations: 4 kB / 1.226 GB, free: 11.07 MB / 0.9512 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.0003212/0.6831, allocations: 0.8204 MB / 1.227 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.097e-05/0.6832, allocations: 20.02 kB / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.6832, allocations: 0 / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.779e-06/0.6832, allocations: 3.938 kB / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.6836, allocations: 471.6 kB / 1.228 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.6846, allocations: 1.483 MB / 1.229 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.6848, allocations: 0.6866 MB / 1.23 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.231e-05/0.6848, allocations: 7.984 kB / 1.23 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.6849, allocations: 15.44 kB / 1.23 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of SimCode: time 3.5e-07/0.6849, allocations: 4.031 kB / 1.23 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01445/0.6993, allocations: 1.574 MB / 1.231 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.32/8.02, allocations: 13.02 kB / 1.231 GB, free: 5.992 MB / 0.9512 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