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.001239/0.001239, 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.001347/0.001347, allocations: 193.8 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.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.651/2.651, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 61.8 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2549, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001921/0.2569, allocations: 0.6158 MB / 1.054 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000134/0.257, allocations: 7.984 kB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.2571, allocations: 0 / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.523e-05/0.2572, allocations: 3.938 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.562e-05/0.2572, allocations: 4 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.832e-05/0.2573, allocations: 4 kB / 1.054 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.847e-05/0.2574, allocations: 27.92 kB / 1.054 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.2575, allocations: 27.98 kB / 1.054 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.471e-05/0.2576, allocations: 15.94 kB / 1.054 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.996e-05/0.2576, allocations: 15.92 kB / 1.054 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.2576, allocations: 4 kB / 1.054 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.2576, allocations: 4 kB / 1.054 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.221e-05/0.2577, allocations: 11.98 kB / 1.054 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.2577, allocations: 23.86 kB / 1.054 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.197e-05/0.2578, allocations: 35.83 kB / 1.054 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2578, allocations: 3.984 kB / 1.054 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2578, allocations: 0 / 1.054 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.2578, allocations: 0 / 1.054 GB, free: 7.473 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.0003479/0.2582, allocations: 355.7 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.2582, allocations: 8.625 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.2583, allocations: 38.75 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.2583, allocations: 12.83 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.2585, allocations: 176.3 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.2585, allocations: 8.312 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.2585, allocations: 4.375 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.2587, allocations: 82.16 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2587, allocations: 3.938 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.2587, allocations: 3.984 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.2587, allocations: 8 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.243e-05/0.2588, allocations: 47.97 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.2593, allocations: 483.1 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.205e-05/0.2593, allocations: 165.1 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.2594, allocations: 92.08 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.2594, allocations: 79.28 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.2595, allocations: 105.8 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.2595, allocations: 0 / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.447e-05/0.2595, allocations: 33.61 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.2596, allocations: 134.6 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.2598, allocations: 167 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.2598, allocations: 25.7 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.2598, allocations: 96.14 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-06/0.2599, allocations: 0 / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.2599, allocations: 13.72 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.26, allocations: 318.8 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.26, allocations: 7.984 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.331e-05/0.26, allocations: 15.94 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.186e-05/0.2601, allocations: 12.84 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2601, allocations: 4.062 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001086/0.2602, allocations: 49.59 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2602, allocations: 8.109 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.2602, allocations: 3.938 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2602, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.513e-05/0.2603, allocations: 7.938 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2603, allocations: 0 / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/0.2603, allocations: 15.83 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.2604, allocations: 0 / 1.056 GB, free: 4.699 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 9.763e-05/0.2605, allocations: 201.1 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.2605, allocations: 105 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.2606, allocations: 112.9 kB / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-05/0.2606, allocations: 192.1 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.762e-05/0.2607, allocations: 176.3 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.223e-05/0.2607, allocations: 188.2 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.2609, allocations: 417.2 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.797e-05/0.261, allocations: 101 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.261, allocations: 108.9 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-05/0.2611, allocations: 180.2 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/0.2611, allocations: 180.2 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.814e-05/0.2612, allocations: 192.2 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.837e-05/0.2612, allocations: 180.8 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.2613, allocations: 307.7 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/0.2614, allocations: 194.2 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.25e-05/0.2615, allocations: 184.3 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.2616, allocations: 113 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.2616, allocations: 180.2 kB / 1.059 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.2617, allocations: 105 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.597e-05/0.2618, allocations: 129.3 kB / 1.06 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2618, allocations: 0 / 1.06 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002146/0.262, allocations: 4 kB / 1.06 GB, free: 1.004 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.0003547/0.2623, allocations: 0.8126 MB / 1.06 GB, free: 168 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.197e-05/0.2624, allocations: 11.98 kB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2624, allocations: 0 / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.2624, allocations: 0 / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.2629, allocations: 467.9 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.2639, allocations: 1.494 MB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.2641, allocations: 0.6884 MB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.311e-05/0.2642, allocations: 4 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.2642, allocations: 23.42 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2642, allocations: 0 / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2963/0.5605, allocations: 1.553 MB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/8.186, allocations: 10.44 kB / 1.064 GB, free: 11.94 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