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.001277/0.001278, allocations: 104.5 kB / 15.99 MB, free: 5.891 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.001294/0.001295, allocations: 189.5 kB / 16.91 MB, free: 5.746 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.397/1.397, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.915/2.915, allocations: 482.4 MB / 0.755 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 66.78 kB / 0.924 GB, free: 29.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3093, allocations: 162.2 MB / 1.082 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001861/0.3112, allocations: 0.6783 MB / 1.083 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001264/0.3113, allocations: 8 kB / 1.083 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.3114, allocations: 0 / 1.083 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.862e-05/0.3115, allocations: 0 / 1.083 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.938e-05/0.3115, allocations: 3.938 kB / 1.083 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.195e-05/0.3116, allocations: 0 / 1.083 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.457e-05/0.3116, allocations: 23.98 kB / 1.083 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.3118, allocations: 27.98 kB / 1.083 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.987e-05/0.3118, allocations: 19.92 kB / 1.083 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.254e-05/0.3119, allocations: 19.92 kB / 1.083 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.3119, allocations: 4 kB / 1.083 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.3119, allocations: 0 / 1.083 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.3119, allocations: 11.94 kB / 1.083 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.312, allocations: 19.92 kB / 1.083 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.043e-05/0.312, allocations: 35.89 kB / 1.083 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3121, allocations: 0 / 1.083 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3121, allocations: 0 / 1.083 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3121, allocations: 0 / 1.083 GB, free: 12.72 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.0004038/0.3125, allocations: 351.7 kB / 1.084 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3125, allocations: 12.03 kB / 1.084 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.3126, allocations: 16.78 kB / 1.084 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.3128, allocations: 188.2 kB / 1.084 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.3128, allocations: 384 / 1.084 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.3128, allocations: 4.375 kB / 1.084 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.313, allocations: 82.22 kB / 1.084 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.313, allocations: 192 / 1.084 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.313, allocations: 3.938 kB / 1.084 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.313, allocations: 0 / 1.084 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.111e-05/0.3131, allocations: 55.84 kB / 1.084 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.3136, allocations: 487.1 kB / 1.084 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.929e-05/0.3137, allocations: 169.1 kB / 1.085 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.3138, allocations: 88.12 kB / 1.085 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.3138, allocations: 75.28 kB / 1.085 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.492e-05/0.3139, allocations: 109.8 kB / 1.085 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.3139, allocations: 0 / 1.085 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.104e-05/0.314, allocations: 29.7 kB / 1.085 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.3141, allocations: 130.6 kB / 1.085 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.3142, allocations: 177.6 kB / 1.085 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.3143, allocations: 25.7 kB / 1.085 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.3143, allocations: 96.12 kB / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.3144, allocations: 4 kB / 1.085 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.3144, allocations: 9.719 kB / 1.085 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3145, allocations: 318.8 kB / 1.086 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.3146, allocations: 7.984 kB / 1.086 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.282e-05/0.3146, allocations: 4 kB / 1.086 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.469e-05/0.3146, allocations: 16.84 kB / 1.086 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.3146, allocations: 0 / 1.086 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001158/0.3148, allocations: 57.62 kB / 1.086 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3148, allocations: 9.719 kB / 1.086 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3148, allocations: 3.984 kB / 1.086 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.3148, allocations: 0 / 1.086 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.021e-05/0.3149, allocations: 4 kB / 1.086 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.3149, allocations: 3.938 kB / 1.086 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.96e-05/0.3149, allocations: 7.938 kB / 1.086 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3149, allocations: 4 kB / 1.086 GB, free: 9.992 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.000122/0.3151, allocations: 193.1 kB / 1.086 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/0.3151, allocations: 112.9 kB / 1.086 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.708e-05/0.3152, allocations: 116.6 kB / 1.086 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.974e-05/0.3153, allocations: 184.2 kB / 1.086 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.39e-05/0.3154, allocations: 180.2 kB / 1.086 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-05/0.3155, allocations: 184.2 kB / 1.087 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.3158, allocations: 421.2 kB / 1.087 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.655e-05/0.3158, allocations: 104.9 kB / 1.087 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.356e-05/0.3159, allocations: 105.1 kB / 1.087 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.008e-05/0.316, allocations: 180.2 kB / 1.087 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.292e-05/0.3161, allocations: 184.2 kB / 1.088 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.258e-05/0.3161, allocations: 180.3 kB / 1.088 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.438e-05/0.3162, allocations: 192.2 kB / 1.088 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.3164, allocations: 312 kB / 1.088 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3165, allocations: 190 kB / 1.088 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.535e-05/0.3166, allocations: 188.2 kB / 1.089 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.681e-05/0.3167, allocations: 112.9 kB / 1.089 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.784e-05/0.3168, allocations: 180.2 kB / 1.089 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.565e-05/0.3169, allocations: 108.9 kB / 1.089 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000107/0.317, allocations: 131.2 kB / 1.089 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.317, allocations: 0 / 1.089 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002165/0.3172, allocations: 4 kB / 1.089 GB, free: 6.281 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.0001433/0.3174, allocations: 174.5 kB / 1.089 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.423e-05/0.3174, allocations: 11.98 kB / 1.089 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3175, allocations: 0 / 1.089 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.3175, allocations: 0 / 1.089 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.3179, allocations: 459.7 kB / 1.09 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.3182, allocations: 242 kB / 1.09 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.3186, allocations: 0.6922 MB / 1.091 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.3186, allocations: 7.438 kB / 1.091 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.3186, allocations: 0 / 1.091 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of Templates: time 0.002151/0.3208, allocations: 0.7406 MB / 1.091 GB, free: 3.902 MB / 0.8419 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=400 -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