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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.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.008063/0.008063, allocations: 106.2 kB / 15.74 MB, free: 6.445 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.002148/0.002148, allocations: 195.9 kB / 16.67 MB, free: 6.352 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.596/2.596, allocations: 482.6 MB / 0.7551 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 64.12 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2652, allocations: 162.3 MB / 1.242 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001515/0.2668, allocations: 0.6179 MB / 1.242 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001087/0.2669, allocations: 4 kB / 1.242 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.267, allocations: 7.938 kB / 1.242 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.363e-05/0.267, allocations: 0 / 1.242 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.149e-05/0.2671, allocations: 0 / 1.242 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.325e-05/0.2671, allocations: 0 / 1.242 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.455e-05/0.2672, allocations: 31.91 kB / 1.243 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2673, allocations: 31.98 kB / 1.243 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.293e-05/0.2674, allocations: 15.92 kB / 1.243 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.706e-05/0.2674, allocations: 11.94 kB / 1.243 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.2674, allocations: 0 / 1.243 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.2674, allocations: 4 kB / 1.243 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.921e-05/0.2675, allocations: 15.98 kB / 1.243 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.2675, allocations: 19.88 kB / 1.243 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.092e-05/0.2676, allocations: 55.67 kB / 1.243 GB, free: 9 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2676, allocations: 4 kB / 1.243 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2676, allocations: 0 / 1.243 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.2676, allocations: 0 / 1.243 GB, free: 8.996 MB / 0.9981 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.0003044/0.2679, allocations: 343.4 kB / 1.243 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.268, allocations: 12.03 kB / 1.243 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.268, allocations: 38.67 kB / 1.243 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.078e-05/0.268, allocations: 8.875 kB / 1.243 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.2682, allocations: 188.3 kB / 1.243 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.2682, allocations: 384 / 1.243 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.2682, allocations: 8.375 kB / 1.243 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.2684, allocations: 74.23 kB / 1.243 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2684, allocations: 3.938 kB / 1.243 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.2684, allocations: 0 / 1.243 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2684, allocations: 0 / 1.243 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.422e-05/0.2685, allocations: 55.89 kB / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.2689, allocations: 479.2 kB / 1.244 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.228e-05/0.269, allocations: 177.1 kB / 1.244 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.2691, allocations: 80.14 kB / 1.244 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.2691, allocations: 75.28 kB / 1.244 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.808e-05/0.2691, allocations: 113.8 kB / 1.244 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2691, allocations: 0 / 1.244 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.07e-05/0.2692, allocations: 33.66 kB / 1.244 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.2693, allocations: 134.6 kB / 1.244 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.2694, allocations: 167.8 kB / 1.245 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.2695, allocations: 33.64 kB / 1.245 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.2695, allocations: 88.14 kB / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.2695, allocations: 0 / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.2695, allocations: 21.7 kB / 1.245 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2697, allocations: 318.8 kB / 1.245 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.2697, allocations: 7.984 kB / 1.245 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.175e-05/0.2697, allocations: 8 kB / 1.245 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.749e-05/0.2697, allocations: 12.84 kB / 1.245 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2697, allocations: 0 / 1.245 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.924e-05/0.2698, allocations: 57.58 kB / 1.245 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.2699, allocations: 4 kB / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.2699, allocations: 4.094 kB / 1.245 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.2699, allocations: 0 / 1.245 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.62e-05/0.2699, allocations: 11.92 kB / 1.245 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.2699, allocations: 0 / 1.245 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.645e-05/0.27, allocations: 11.95 kB / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.27, allocations: 4 kB / 1.245 GB, free: 6.234 MB / 0.9981 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.967e-05/0.2701, allocations: 197.6 kB / 1.245 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/0.2702, allocations: 105 kB / 1.245 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.468e-05/0.2702, allocations: 120.8 kB / 1.246 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.576e-05/0.2703, allocations: 184.2 kB / 1.246 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-05/0.2704, allocations: 180.2 kB / 1.246 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.225e-05/0.2704, allocations: 180.2 kB / 1.246 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.2707, allocations: 421.2 kB / 1.246 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.089e-05/0.2707, allocations: 108.9 kB / 1.247 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.2708, allocations: 105 kB / 1.247 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.527e-05/0.2708, allocations: 180.2 kB / 1.247 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.748e-05/0.2709, allocations: 184.2 kB / 1.247 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.471e-05/0.271, allocations: 180.2 kB / 1.247 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-05/0.271, allocations: 184.4 kB / 1.247 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.2712, allocations: 315.7 kB / 1.248 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-05/0.2713, allocations: 190 kB / 1.248 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.292e-05/0.2713, allocations: 180.3 kB / 1.248 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.433e-05/0.2714, allocations: 108.9 kB / 1.248 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.2715, allocations: 184.2 kB / 1.248 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/0.2716, allocations: 108.9 kB / 1.248 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.717e-05/0.2717, allocations: 137.8 kB / 1.249 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.2717, allocations: 0 / 1.249 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001984/0.2719, allocations: 4 kB / 1.249 GB, free: 2.527 MB / 0.9981 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.0003798/0.2723, allocations: 0.8087 MB / 1.249 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.046e-05/0.2723, allocations: 7.984 kB / 1.249 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2723, allocations: 0 / 1.249 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.2723, allocations: 3.938 kB / 1.249 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.2727, allocations: 463.7 kB / 1.25 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4479/0.7206, allocations: 1.49 MB / 1.251 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.7207, allocations: 0.684 MB / 1.252 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.117e-05/0.7208, allocations: 6.219 kB / 1.252 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.7208, allocations: 17 kB / 1.252 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.7208, allocations: 0 / 1.252 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3142/1.035, allocations: 1.587 MB / 1.253 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/9.235, allocations: 12.03 kB / 1.253 GB, free: 13.51 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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