Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.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.00166/0.00166, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00205/0.00205, allocations: 216.6 kB / 22.99 MB, free: 4.945 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.13/3.13, allocations: 0.4892 GB / 0.7951 GB, free: 35.57 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.Pumps.Primary.Validation.DisableDedicated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1.y|y1EquLea.y|y1EquLea_actual.y|y1ReqEquLea.y|enaDed.y1|enaDedReq.y1",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated") translateModel(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1.y|y1EquLea.y|y1EquLea_actual.y|y1ReqEquLea.y|enaDed.y1|enaDedReq.y1",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated") [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.002049/0.002049, allocations: 67.98 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3082, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.002741/0.3109, allocations: 1.064 MB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.3132, allocations: 1.549 MB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.3134, allocations: 8 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.3136, allocations: 31.61 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.3137, allocations: 47.58 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.3149, allocations: 495.5 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007035/0.3156, allocations: 0.5616 MB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.3159, allocations: 101.5 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003193/0.3162, allocations: 223.5 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003385/0.3165, allocations: 195.2 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.3167, allocations: 56 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.3168, allocations: 64 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.9e-05/0.3169, allocations: 83.8 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.3171, allocations: 187.4 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006692/0.3178, allocations: 0.5723 MB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3178, allocations: 3.938 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3178, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.3178, allocations: 4 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.00119/0.319, allocations: 0.6435 MB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.319, allocations: 12.03 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.3192, allocations: 44.73 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.3197, allocations: 242.5 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.3197, allocations: 32.86 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-05/0.3198, allocations: 44.38 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.3203, allocations: 252.5 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3203, allocations: 192 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.3203, allocations: 11.94 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.3204, allocations: 11.98 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.3207, allocations: 169.8 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.3221, allocations: 0.7169 MB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.3226, allocations: 194.7 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.3227, allocations: 72.81 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.3227, allocations: 4 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004288/0.3232, allocations: 261.2 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.743e-06/0.3232, allocations: 0 / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0008542/0.324, allocations: 446.8 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.3241, allocations: 71.33 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.3243, allocations: 202.6 kB / 1.335 GB, free: 9.094 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.718e-05/0.3244, allocations: 45.7 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.3245, allocations: 164.7 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.654e-05/0.3246, allocations: 71.48 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.3248, allocations: 138 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.325, allocations: 334.8 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/0.3255, allocations: 291.5 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.3259, allocations: 376.4 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005679/0.3265, allocations: 423.4 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3265, allocations: 0 / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001133/0.3277, allocations: 0.7453 MB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-05/0.3278, allocations: 132.6 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3278, allocations: 4 kB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3278, allocations: 8.281 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.992e-05/0.3279, allocations: 27.86 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3279, allocations: 8 kB / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/0.3285, allocations: 123.7 kB / 1.337 GB, free: 5.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/0.3286, allocations: 35.97 kB / 1.337 GB, free: 5.961 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition14,$whenCondition15,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,enaDedReq.ini.y,enaDedReq.lat.y,enaDed.ini.y,enaDed.lat.y,y1.y,$PRE.y1.y,$whenCondition10,$whenCondition11,$whenCondition13,y1EquLea.y,$PRE.y1EquLea.y,y1ReqEquLea.y,$PRE.y1ReqEquLea.y,enaDedReq.edg.y,enaDedReq.edg.u,$PRE.enaDedReq.edg.u,enaDedReq.timOff.passed,$PRE.enaDedReq.timOff.passed,enaDedReq.offOrNotReq.y,enaDed.edg.y,enaDed.edg.u,$PRE.enaDed.edg.u,enaDed.timOff.passed,$PRE.enaDed.timOff.passed,y1EquLea_actual.y,$PRE.y1EquLea_actual.y,enaDedReq.timOff.entryTime,$PRE.enaDedReq.timOff.entryTime,enaDed.timOff.entryTime,$PRE.enaDed.timOff.entryTime,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition12,enaDed.fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002086/0.3288, allocations: 169.8 kB / 1.338 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.3288, allocations: 35.78 kB / 1.338 GB, free: 5.754 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.064e-05/0.3289, allocations: 26.66 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3289, allocations: 4 kB / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3289, allocations: 0 / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3289, allocations: 3.984 kB / 1.338 GB, free: 5.719 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.3299, allocations: 0.6702 MB / 1.338 GB, free: 5.008 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3299, allocations: 4 kB / 1.338 GB, free: 5.004 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.3299, allocations: 11.94 kB / 1.338 GB, free: 4.992 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3299, allocations: 4 kB / 1.338 GB, free: 4.988 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.33, allocations: 11.98 kB / 1.338 GB, free: 4.977 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.33, allocations: 0 / 1.338 GB, free: 4.977 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.33, allocations: 0 / 1.338 GB, free: 4.977 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.3306, allocations: 445.8 kB / 1.339 GB, free: 4.527 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.3306, allocations: 23.89 kB / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/0.3306, allocations: 19.92 kB / 1.339 GB, free: 4.484 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.3308, allocations: 15.98 kB / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.3309, allocations: 31.94 kB / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.3309, allocations: 19.98 kB / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001115/0.331, allocations: 132.3 kB / 1.339 GB, free: 4.289 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.331, allocations: 0 / 1.339 GB, free: 4.289 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004091/0.3314, allocations: 107.8 kB / 1.339 GB, free: 4.184 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (enaDed.ini.y,enaDedReq.ini.y,$whenCondition14,$whenCondition15,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1.y,enaDed.lat.y,enaDed.timOff.passed,enaDed.timOff.entryTime,enaDed.edg.u,enaDed.edg.y,enaDedReq.lat.y,enaDedReq.offOrNotReq.y,enaDedReq.timOff.passed,enaDedReq.timOff.entryTime,enaDedReq.edg.u,enaDedReq.edg.y,y1ReqEquLea.y,y1EquLea.y,y1EquLea_actual.y) * Number of discrete states: 4 (enaDedReq.timOff.entryTime,enaDed.timOff.entryTime,enaDedReq.edg.u,enaDed.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001835/0.3316, allocations: 129.7 kB / 1.339 GB, free: 4.047 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009414/0.3325, allocations: 0.6797 MB / 1.34 GB, free: 3.293 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3325, allocations: 3.938 kB / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.3328, allocations: 131.8 kB / 1.34 GB, free: 3.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.3332, allocations: 48.45 kB / 1.34 GB, free: 3.113 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009322/0.3341, allocations: 0.5025 MB / 1.341 GB, free: 2.574 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.3343, allocations: 147.5 kB / 1.341 GB, free: 2.406 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.3344, allocations: 35.44 kB / 1.341 GB, free: 2.371 MB / 1.029 GB Notification: Performance of SimCode: time 3.6e-07/0.3344, allocations: 0 / 1.341 GB, free: 2.371 MB / 1.029 GB Notification: Performance of Templates: time 0.007909/0.3423, allocations: 4.208 MB / 1.345 GB, free: 14.18 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_DisableDedicated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.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: 11.115994282066822]