Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00238/0.00238, allocations: 216.1 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.15/3.15, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 71.3 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.309, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001812/0.3108, allocations: 0.6172 MB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001366/0.3109, allocations: 11.94 kB / 1.328 GB, free: 416 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/0.311, allocations: 0 / 1.328 GB, free: 416 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.818e-05/0.3111, allocations: 3.984 kB / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.906e-05/0.3111, allocations: 0 / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.245e-05/0.3112, allocations: 8 kB / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.249e-05/0.3113, allocations: 19.92 kB / 1.328 GB, free: 384 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3114, allocations: 27.92 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.819e-05/0.3114, allocations: 19.92 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.114e-05/0.3114, allocations: 15.92 kB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.3115, allocations: 4 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.859e-06/0.3115, allocations: 0 / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.208e-05/0.3115, allocations: 11.94 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.3115, allocations: 15.88 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.3116, allocations: 47.8 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3116, allocations: 0 / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3116, allocations: 0 / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.3117, allocations: 0 / 1.328 GB, free: 240 kB / 1.014 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.0003902/0.312, allocations: 286.5 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3121, allocations: 8.031 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.3121, allocations: 4.938 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.3123, allocations: 122.5 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3123, allocations: 4.375 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.3123, allocations: 4.375 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3125, allocations: 78.17 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3125, allocations: 8.156 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3125, allocations: 3.938 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3125, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.2e-05/0.3126, allocations: 55.91 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.313, allocations: 410.9 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.3131, allocations: 177.1 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.3132, allocations: 80.14 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.3132, allocations: 75.28 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.3133, allocations: 105.8 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.3133, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.607e-05/0.3134, allocations: 37.59 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.3134, allocations: 51.41 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.3135, allocations: 125.8 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3135, allocations: 25.7 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.3136, allocations: 108.1 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.3136, allocations: 0 / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.3136, allocations: 17.72 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3138, allocations: 318.8 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.3138, allocations: 8 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.338e-05/0.3138, allocations: 7.984 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.762e-05/0.3138, allocations: 20.86 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3138, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001186/0.314, allocations: 53.61 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.314, allocations: 9.656 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.314, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.314, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.104e-05/0.314, allocations: 4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.314, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.3141, allocations: 4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3141, allocations: 7.875 kB / 1.33 GB, free: 13.88 MB / 1.029 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.0001162/0.3142, allocations: 197.6 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.138e-05/0.3143, allocations: 105 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.849e-05/0.3143, allocations: 108.4 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.922e-05/0.3144, allocations: 184.2 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.47e-05/0.3144, allocations: 105 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.3145, allocations: 108.9 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.016e-05/0.3146, allocations: 188.2 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.022e-05/0.3147, allocations: 108.9 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.3148, allocations: 180.2 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001093/0.3149, allocations: 259.5 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002245/0.3151, allocations: 379 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.874e-05/0.3151, allocations: 116.9 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.291e-05/0.3152, allocations: 95.27 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of Backend: time 3.61e-07/0.3152, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000321/0.3156, allocations: 90.39 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006199/0.3162, allocations: 0.8624 MB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of Templates: time 0.002653/0.3188, allocations: 413.3 kB / 1.333 GB, free: 10.26 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.508327852003276]