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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_latest_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_latest_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.001449/0.001449, allocations: 108 kB / 15.6 MB, free: 132 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.001709/0.001709, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.834/2.834, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.001251, allocations: 71.17 kB / 0.9121 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3302, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002181/0.3324, allocations: 0.6042 MB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000137/0.3325, allocations: 11.94 kB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.316e-05/0.3326, allocations: 0 / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.067e-05/0.3327, allocations: 0 / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.17e-05/0.3328, allocations: 7.984 kB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.417e-05/0.3329, allocations: 8 kB / 1.069 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.573e-05/0.333, allocations: 23.92 kB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3331, allocations: 31.98 kB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.962e-05/0.3331, allocations: 19.92 kB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.024e-05/0.3332, allocations: 11.94 kB / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.3332, allocations: 4 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.3332, allocations: 4 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.02e-05/0.3332, allocations: 15.92 kB / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.3333, allocations: 11.94 kB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.972e-05/0.3334, allocations: 51.73 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.3334, allocations: 0 / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.01e-07/0.3334, allocations: 0 / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.3334, allocations: 0 / 1.069 GB, free: 9.574 MB / 0.8262 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.0003015/0.3337, allocations: 355.7 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.3337, allocations: 8.031 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.3338, allocations: 8.844 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.3339, allocations: 180.3 kB / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-06/0.334, allocations: 384 / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.334, allocations: 4.375 kB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3341, allocations: 82.16 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3341, allocations: 4.188 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3342, allocations: 3.938 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3342, allocations: 0 / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.907e-05/0.3342, allocations: 51.97 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.3347, allocations: 487 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.663e-05/0.3348, allocations: 169.1 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.802e-05/0.3349, allocations: 90.25 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.3349, allocations: 79.28 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.3349, allocations: 105.8 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3349, allocations: 0 / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.475e-05/0.335, allocations: 29.7 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.3351, allocations: 126.7 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.3353, allocations: 175.1 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.3353, allocations: 29.7 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.3353, allocations: 96.05 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.3353, allocations: 0 / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.3354, allocations: 13.72 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3355, allocations: 322.8 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.3355, allocations: 7.938 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.345e-05/0.3355, allocations: 7.984 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.768e-05/0.3356, allocations: 12.86 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3356, allocations: 4.062 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001193/0.3357, allocations: 53.67 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3357, allocations: 4.109 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3357, allocations: 3.938 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3358, allocations: 0 / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.447e-05/0.3358, allocations: 4 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3358, allocations: 3.938 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/0.3359, allocations: 11.84 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3359, allocations: 0 / 1.071 GB, free: 6.863 MB / 0.8262 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.0001225/0.336, allocations: 206.6 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.239e-05/0.3361, allocations: 112.8 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.674e-05/0.3361, allocations: 120.6 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.811e-05/0.3362, allocations: 184.2 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.807e-05/0.3363, allocations: 180.2 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.84e-05/0.3364, allocations: 180.2 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.3366, allocations: 425.2 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-05/0.3366, allocations: 105 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.3367, allocations: 104.9 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.888e-05/0.3367, allocations: 176.3 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.599e-05/0.3368, allocations: 180.2 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.803e-05/0.3369, allocations: 188.3 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.94e-05/0.337, allocations: 184.2 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.3371, allocations: 303.8 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.256e-05/0.3372, allocations: 194.2 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.995e-05/0.3373, allocations: 192.2 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.3374, allocations: 101 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.631e-05/0.3374, allocations: 188.2 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.3375, allocations: 101 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.672e-05/0.3376, allocations: 137 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3376, allocations: 0 / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002143/0.3378, allocations: 4 kB / 1.075 GB, free: 3.148 MB / 0.8262 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.0001298/0.3379, allocations: 176.8 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.976e-05/0.338, allocations: 15.92 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.338, allocations: 0 / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-06/0.338, allocations: 0 / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.3385, allocations: 460.2 kB / 1.075 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.3387, allocations: 208.2 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.339, allocations: 0.6846 MB / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.007e-05/0.339, allocations: 7.984 kB / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.3391, allocations: 15.38 kB / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3391, allocations: 0 / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of Templates: time 0.002454/0.3415, allocations: 472 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile (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 & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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