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.009483/0.009483, allocations: 99.53 kB / 15.73 MB, free: 6.48 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.00224/0.00224, allocations: 193.4 kB / 16.68 MB, free: 6.363 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.849/2.849, allocations: 472.6 MB / 0.7453 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.89 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3107, allocations: 159.9 MB / 1.226 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001621/0.3123, allocations: 0.6265 MB / 1.226 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001308/0.3125, allocations: 7.984 kB / 1.226 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.3125, allocations: 4 kB / 1.226 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.584e-05/0.3126, allocations: 7.922 kB / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.584e-05/0.3127, allocations: 0 / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.864e-05/0.3127, allocations: 4 kB / 1.226 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.71e-05/0.3128, allocations: 23.98 kB / 1.226 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.313, allocations: 31.98 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.482e-05/0.313, allocations: 11.94 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.994e-05/0.313, allocations: 19.86 kB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.3131, allocations: 4 kB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.3131, allocations: 4 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.3131, allocations: 15.92 kB / 1.226 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.3131, allocations: 15.88 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.795e-05/0.3133, allocations: 47.75 kB / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3133, allocations: 0 / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3133, allocations: 4 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.954e-06/0.3133, allocations: 4 kB / 1.226 GB, free: 8.352 MB / 0.9825 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.0003238/0.3136, allocations: 351.3 kB / 1.227 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.3136, allocations: 8.031 kB / 1.227 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.3137, allocations: 8.891 kB / 1.227 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.3139, allocations: 176.3 kB / 1.227 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.3139, allocations: 8.375 kB / 1.227 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.3139, allocations: 4.312 kB / 1.227 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.314, allocations: 82.22 kB / 1.227 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.3141, allocations: 4.188 kB / 1.227 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3141, allocations: 7.938 kB / 1.227 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3141, allocations: 0 / 1.227 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.191e-05/0.3142, allocations: 47.97 kB / 1.227 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.3146, allocations: 487.2 kB / 1.228 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.186e-05/0.3147, allocations: 169.1 kB / 1.228 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.513e-05/0.3147, allocations: 84.14 kB / 1.228 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.3147, allocations: 75.28 kB / 1.228 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.3148, allocations: 117.9 kB / 1.228 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3148, allocations: 3.938 kB / 1.228 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.163e-05/0.3149, allocations: 25.7 kB / 1.228 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.3149, allocations: 126.7 kB / 1.228 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.3151, allocations: 183.2 kB / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3151, allocations: 25.7 kB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.3152, allocations: 104 kB / 1.228 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.3152, allocations: 0 / 1.228 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.3152, allocations: 13.72 kB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.3153, allocations: 314.8 kB / 1.229 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.3153, allocations: 8 kB / 1.229 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.636e-05/0.3153, allocations: 7.984 kB / 1.229 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.583e-05/0.3154, allocations: 24.86 kB / 1.229 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3154, allocations: 0 / 1.229 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001091/0.3155, allocations: 53.66 kB / 1.229 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3155, allocations: 9.562 kB / 1.229 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3155, allocations: 0 / 1.229 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.3155, allocations: 0 / 1.229 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.015e-05/0.3156, allocations: 0 / 1.229 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3156, allocations: 7.938 kB / 1.229 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.616e-05/0.3156, allocations: 7.953 kB / 1.229 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.3157, allocations: 4.031 kB / 1.229 GB, free: 5.625 MB / 0.9825 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 8.898e-05/0.3158, allocations: 193.6 kB / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.3158, allocations: 116.8 kB / 1.229 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.623e-05/0.3159, allocations: 112.8 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.704e-05/0.3159, allocations: 180.2 kB / 1.229 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-05/0.316, allocations: 188.2 kB / 1.23 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-05/0.316, allocations: 180.3 kB / 1.23 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.3163, allocations: 417.1 kB / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-05/0.3163, allocations: 101 kB / 1.23 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.287e-05/0.3163, allocations: 116.9 kB / 1.23 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.345e-05/0.3164, allocations: 180.3 kB / 1.231 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.973e-05/0.3165, allocations: 180.3 kB / 1.231 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.944e-05/0.3165, allocations: 180.2 kB / 1.231 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.022e-05/0.3166, allocations: 180.4 kB / 1.231 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.3167, allocations: 315.8 kB / 1.231 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.3168, allocations: 190 kB / 1.232 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.406e-05/0.3168, allocations: 188.1 kB / 1.232 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.202e-05/0.3169, allocations: 105 kB / 1.232 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.317, allocations: 192.1 kB / 1.232 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.317, allocations: 101 kB / 1.232 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.114e-05/0.3171, allocations: 129.1 kB / 1.232 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3171, allocations: 4 kB / 1.232 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002216/0.3174, allocations: 4 kB / 1.232 GB, free: 1.922 MB / 0.9825 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.0001128/0.3175, allocations: 178.5 kB / 1.232 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.546e-05/0.3175, allocations: 11.92 kB / 1.232 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3176, allocations: 0 / 1.232 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.3176, allocations: 0 / 1.232 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.3179, allocations: 463.8 kB / 1.233 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.3182, allocations: 208.1 kB / 1.233 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.3184, allocations: 0.6807 MB / 1.234 GB, free: 340 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.411e-05/0.3185, allocations: 7.984 kB / 1.234 GB, free: 332 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.3185, allocations: 11.44 kB / 1.234 GB, free: 320 kB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.3185, allocations: 0 / 1.234 GB, free: 320 kB / 0.9825 GB Notification: Performance of Templates: time 0.002299/0.3208, allocations: 472 kB / 1.234 GB, free: 15.86 MB / 0.9981 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