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.001146/0.001146, allocations: 111 kB / 16.42 MB, free: 6.453 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.001184/0.001184, allocations: 188.2 kB / 17.35 MB, free: 5.711 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.616/2.616, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.89 kB / 1.07 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7326/0.734, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001733/0.7358, allocations: 0.6045 MB / 1.227 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001309/0.736, allocations: 4 kB / 1.227 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.129e-05/0.736, allocations: 0 / 1.227 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 8.34e-05/0.7361, allocations: 7.938 kB / 1.227 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.728e-05/0.7362, allocations: 3.984 kB / 1.227 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 6.682e-05/0.7362, allocations: 4 kB / 1.227 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.928e-05/0.7363, allocations: 23.92 kB / 1.227 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.7365, allocations: 31.98 kB / 1.227 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.526e-05/0.7365, allocations: 15.92 kB / 1.227 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.889e-05/0.7365, allocations: 15.92 kB / 1.227 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.7365, allocations: 4 kB / 1.227 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.7366, allocations: 4 kB / 1.227 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.7366, allocations: 15.94 kB / 1.227 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.7366, allocations: 11.94 kB / 1.227 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 9.926e-05/0.7368, allocations: 51.31 kB / 1.227 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7368, allocations: 0 / 1.227 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7368, allocations: 0 / 1.227 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.7368, allocations: 3.938 kB / 1.227 GB, free: 12.74 MB / 0.9512 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.0003356/0.7371, allocations: 356.3 kB / 1.227 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.7372, allocations: 8.031 kB / 1.227 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.7372, allocations: 8.891 kB / 1.227 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.7374, allocations: 188.2 kB / 1.228 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.7374, allocations: 384 / 1.228 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.7374, allocations: 4.375 kB / 1.228 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.7376, allocations: 82.22 kB / 1.228 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.7376, allocations: 192 / 1.228 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.7376, allocations: 3.938 kB / 1.228 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.7376, allocations: 0 / 1.228 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.775e-05/0.7377, allocations: 51.97 kB / 1.228 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.7382, allocations: 487.2 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.317e-05/0.7383, allocations: 169.1 kB / 1.228 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.091e-05/0.7383, allocations: 84.14 kB / 1.228 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.7383, allocations: 79.22 kB / 1.229 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.7384, allocations: 109.8 kB / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.7384, allocations: 0 / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.064e-05/0.7385, allocations: 29.81 kB / 1.229 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.7385, allocations: 55.34 kB / 1.229 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.7387, allocations: 176.7 kB / 1.229 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.7387, allocations: 25.7 kB / 1.229 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.7387, allocations: 96.08 kB / 1.229 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.7388, allocations: 4 kB / 1.229 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.7388, allocations: 9.719 kB / 1.229 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.7389, allocations: 322.8 kB / 1.229 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.7389, allocations: 7.984 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.585e-05/0.7389, allocations: 11.95 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.524e-05/0.739, allocations: 16.86 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.739, allocations: 0 / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001099/0.7391, allocations: 49.69 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.7391, allocations: 7.984 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.7391, allocations: 96 / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.7392, allocations: 4 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.284e-05/0.7392, allocations: 4 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.7392, allocations: 3.938 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.069e-05/0.7393, allocations: 11.89 kB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.7393, allocations: 4 kB / 1.229 GB, free: 10.09 MB / 0.9512 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.188e-05/0.7394, allocations: 193.6 kB / 1.23 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.89e-05/0.7395, allocations: 112.9 kB / 1.23 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.748e-05/0.7395, allocations: 116.8 kB / 1.23 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.655e-05/0.7396, allocations: 184.2 kB / 1.23 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-05/0.7396, allocations: 104.9 kB / 1.23 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.092e-05/0.7397, allocations: 186 kB / 1.23 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.862e-05/0.7398, allocations: 184.2 kB / 1.231 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.7399, allocations: 105 kB / 1.231 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.74, allocations: 184.2 kB / 1.231 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.234e-05/0.7401, allocations: 255.5 kB / 1.231 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001543/0.7402, allocations: 392.1 kB / 1.231 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.531e-05/0.7403, allocations: 105 kB / 1.232 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.669e-05/0.7404, allocations: 137 kB / 1.232 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of Backend: time 3.31e-07/0.7404, allocations: 0 / 1.232 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003259/0.7407, allocations: 94.33 kB / 1.232 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005098/0.7412, allocations: 0.8739 MB / 1.233 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of Templates: time 0.002448/0.7437, allocations: 0.5512 MB / 1.233 GB, free: 6.188 MB / 0.9512 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/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