Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001557/0.001557, allocations: 191.7 kB / 17.2 MB, free: 5.953 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.426/1.426, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.679/2.679, allocations: 469.8 MB / 0.743 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 69.48 kB / 0.9092 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3178, allocations: 159.1 MB / 1.065 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001996/0.3198, allocations: 0.6063 MB / 1.065 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000148/0.32, allocations: 15.94 kB / 1.065 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.3201, allocations: 0 / 1.065 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.743e-05/0.3202, allocations: 0 / 1.065 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.121e-05/0.3202, allocations: 7.938 kB / 1.065 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.478e-05/0.3203, allocations: 7.922 kB / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.624e-05/0.3204, allocations: 20 kB / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.3206, allocations: 35.98 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.749e-05/0.3206, allocations: 15.92 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.415e-05/0.3206, allocations: 15.92 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.3207, allocations: 4 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.3207, allocations: 4 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.3207, allocations: 11.98 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.3208, allocations: 19.88 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.31e-05/0.3209, allocations: 43.81 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3209, allocations: 0 / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3209, allocations: 0 / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3209, allocations: 0 / 1.065 GB, free: 13.99 MB / 0.8419 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.0004119/0.3213, allocations: 347.7 kB / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.3214, allocations: 8.625 kB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.3214, allocations: 8.844 kB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.3216, allocations: 184.2 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3216, allocations: 4.375 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.3217, allocations: 8.375 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.3218, allocations: 82.16 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.3219, allocations: 4.188 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.3219, allocations: 7.938 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3219, allocations: 0 / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.551e-05/0.322, allocations: 43.97 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.3225, allocations: 487.1 kB / 1.067 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.3227, allocations: 173.1 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.103e-05/0.3227, allocations: 80.14 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.3227, allocations: 75.28 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/0.3228, allocations: 109.8 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3228, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.607e-05/0.3229, allocations: 37.61 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.487e-05/0.323, allocations: 126.7 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.3232, allocations: 184.2 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3232, allocations: 25.7 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.3233, allocations: 88.14 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.3233, allocations: 0 / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.3234, allocations: 17.62 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3235, allocations: 322.8 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.3235, allocations: 8 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.415e-05/0.3236, allocations: 7.984 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.948e-05/0.3236, allocations: 16.84 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3236, allocations: 3.938 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001257/0.3238, allocations: 49.69 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3238, allocations: 4 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3238, allocations: 4.094 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3238, allocations: 3.938 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.3239, allocations: 12.03 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3239, allocations: 3.938 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.3239, allocations: 11.84 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3239, allocations: 7.984 kB / 1.068 GB, free: 11.26 MB / 0.8419 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 0.0001243/0.3241, allocations: 191.3 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.909e-05/0.3241, allocations: 109 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.991e-05/0.3242, allocations: 112.8 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.626e-05/0.3243, allocations: 180.3 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-05/0.3244, allocations: 184.2 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.108e-05/0.3245, allocations: 184.2 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.3247, allocations: 417.2 kB / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.655e-05/0.3248, allocations: 104.9 kB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/0.3248, allocations: 109 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.46e-05/0.3249, allocations: 176.3 kB / 1.07 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.868e-05/0.325, allocations: 184.2 kB / 1.07 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.83e-05/0.3251, allocations: 184.2 kB / 1.07 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.496e-05/0.3252, allocations: 184.1 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.3253, allocations: 307.7 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.3254, allocations: 194.2 kB / 1.071 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.791e-05/0.3255, allocations: 180.3 kB / 1.071 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.824e-05/0.3256, allocations: 109 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.3257, allocations: 188.2 kB / 1.071 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/0.3258, allocations: 109 kB / 1.071 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001143/0.3259, allocations: 129 kB / 1.071 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.994e-06/0.3259, allocations: 0 / 1.071 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002201/0.3261, allocations: 11.94 kB / 1.071 GB, free: 7.562 MB / 0.8419 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.0001571/0.3263, allocations: 174.5 kB / 1.071 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.927e-05/0.3264, allocations: 8 kB / 1.071 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3264, allocations: 0 / 1.071 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.3264, allocations: 4.062 kB / 1.071 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.3269, allocations: 459.7 kB / 1.072 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.3272, allocations: 226 kB / 1.072 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.3276, allocations: 0.6961 MB / 1.073 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.3277, allocations: 11.44 kB / 1.073 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of SimCode: time 2.194e-06/0.3277, allocations: 3.938 kB / 1.073 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of Templates: time 0.002357/0.33, allocations: 0.7402 MB / 1.074 GB, free: 5.188 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches