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.001109/0.001109, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001196/0.001196, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.736/2.736, allocations: 461.9 MB / 0.7343 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.14 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2423, allocations: 157.4 MB / 1.052 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.00171/0.2441, allocations: 0.6805 MB / 1.053 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001197/0.2442, allocations: 11.94 kB / 1.053 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.2443, allocations: 0 / 1.053 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.069e-05/0.2444, allocations: 0 / 1.053 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.52e-05/0.2444, allocations: 0 / 1.053 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.096e-05/0.2445, allocations: 0 / 1.053 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.909e-05/0.2446, allocations: 27.92 kB / 1.053 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.2447, allocations: 35.97 kB / 1.053 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.259e-05/0.2447, allocations: 15.94 kB / 1.053 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.801e-05/0.2448, allocations: 19.92 kB / 1.053 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.2448, allocations: 4 kB / 1.053 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.168e-06/0.2448, allocations: 0 / 1.053 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.2448, allocations: 8 kB / 1.053 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.2449, allocations: 15.88 kB / 1.053 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.998e-05/0.2449, allocations: 51.8 kB / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.245, allocations: 0 / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.432e-06/0.245, allocations: 0 / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.245, allocations: 0 / 1.053 GB, free: 7.715 MB / 0.8106 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.0002859/0.2453, allocations: 347.7 kB / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2453, allocations: 16.62 kB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.2453, allocations: 30.75 kB / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.2454, allocations: 12.84 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.2455, allocations: 184.2 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.2455, allocations: 384 / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.2455, allocations: 8.375 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.2457, allocations: 86.09 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2457, allocations: 7.875 kB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.2457, allocations: 0 / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.2457, allocations: 0 / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.764e-05/0.2458, allocations: 51.97 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.2463, allocations: 487.1 kB / 1.054 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.557e-05/0.2464, allocations: 169.1 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.809e-05/0.2464, allocations: 84.08 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.2465, allocations: 79.28 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.2465, allocations: 105.8 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2465, allocations: 0 / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.595e-05/0.2466, allocations: 33.61 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.2467, allocations: 134.6 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.2469, allocations: 171.5 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.2469, allocations: 25.7 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.2469, allocations: 92.14 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-06/0.2469, allocations: 4 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.247, allocations: 13.72 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.835e-05/0.2471, allocations: 318.8 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.2471, allocations: 8 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.332e-05/0.2471, allocations: 11.92 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.71e-05/0.2472, allocations: 12.86 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2472, allocations: 64 / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001284/0.2473, allocations: 57.58 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2473, allocations: 4.109 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2473, allocations: 3.938 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2474, allocations: 0 / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.729e-05/0.2474, allocations: 7.938 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2474, allocations: 0 / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.168e-05/0.2475, allocations: 15.84 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.2475, allocations: 4 kB / 1.056 GB, free: 4.941 MB / 0.8106 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.0001175/0.2476, allocations: 197.1 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.2477, allocations: 105 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.2478, allocations: 116.8 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.088e-05/0.2478, allocations: 184.1 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.904e-05/0.2479, allocations: 176.3 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-05/0.2479, allocations: 180.2 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.2482, allocations: 433.2 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.574e-05/0.2482, allocations: 101 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.2483, allocations: 104.9 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-05/0.2484, allocations: 176.4 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-05/0.2484, allocations: 188.2 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.764e-05/0.2485, allocations: 192.2 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.411e-05/0.2486, allocations: 184.2 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.2487, allocations: 311.7 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.309e-05/0.2488, allocations: 193.9 kB / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-05/0.2489, allocations: 180.3 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-05/0.249, allocations: 108.9 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.2491, allocations: 180.2 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.2491, allocations: 109 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.233e-05/0.2492, allocations: 129.3 kB / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2492, allocations: 0 / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002135/0.2494, allocations: 4 kB / 1.059 GB, free: 1.242 MB / 0.8106 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.0003872/0.2498, allocations: 0.8126 MB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.283e-05/0.2499, allocations: 11.98 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.2499, allocations: 0 / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.2499, allocations: 0 / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.2504, allocations: 463.7 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.2514, allocations: 1.497 MB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.2516, allocations: 0.6883 MB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.541e-05/0.2517, allocations: 12.03 kB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.2517, allocations: 15.42 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2517, allocations: 0 / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.084/6.336, allocations: 1.464 MB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002963/6.336, allocations: 230.8 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/9.066, allocations: 1.547 kB / 1.064 GB, free: 12.07 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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