Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.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.001617/0.001617, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001772/0.001772, allocations: 210.9 kB / 23 MB, free: 4.934 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.142/3.142, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.Generic.Validation.ResetLocalDifferentialPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dpRemSet.y|dpRem.y|resDpLoc.dpLocSet|resDpLoc.dpLocSet_min|resDpLoc.dpLocSet_max",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure") translateModel(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dpRemSet.y|dpRem.y|resDpLoc.dpLocSet|resDpLoc.dpLocSet_min|resDpLoc.dpLocSet_max",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure") [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.001983/0.001983, allocations: 67.61 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3048, allocations: 176.1 MB / 1.327 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure): time 0.004353/0.3092, allocations: 2.514 MB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00273/0.3119, allocations: 1.535 MB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.3121, allocations: 11.94 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.3125, allocations: 135.1 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004556/0.313, allocations: 171.1 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.3134, allocations: 247.4 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005827/0.314, allocations: 0.5193 MB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.3143, allocations: 145.8 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/0.3146, allocations: 207.1 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.3148, allocations: 215 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.892e-05/0.3149, allocations: 51.94 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.3151, allocations: 104 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.3152, allocations: 127.6 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.3154, allocations: 159.1 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007867/0.3162, allocations: 0.7003 MB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3162, allocations: 0 / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3162, allocations: 0 / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.3162, allocations: 0 / 1.334 GB, free: 10.34 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001395/0.3176, allocations: 0.7362 MB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3176, allocations: 11.97 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.3178, allocations: 64.59 kB / 1.335 GB, free: 9.488 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005838/0.3184, allocations: 349.4 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.3184, allocations: 21.03 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.83e-05/0.3185, allocations: 35.94 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/0.3192, allocations: 376.5 kB / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3192, allocations: 0 / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.3192, allocations: 12 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.3192, allocations: 4 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/0.3198, allocations: 234.4 kB / 1.336 GB, free: 8.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.3214, allocations: 0.9559 MB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000692/0.3221, allocations: 260.7 kB / 1.337 GB, free: 7.168 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.3224, allocations: 120.8 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.3225, allocations: 4 kB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003383/0.3228, allocations: 152.9 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.814e-06/0.3228, allocations: 4 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0008047/0.3236, allocations: 327.3 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.3237, allocations: 85.09 kB / 1.337 GB, free: 6.453 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005501/0.3242, allocations: 457.5 kB / 1.338 GB, free: 5.996 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.3242, allocations: 37.64 kB / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.3244, allocations: 232.5 kB / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.062e-05/0.3245, allocations: 95.25 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.3246, allocations: 70.02 kB / 1.338 GB, free: 5.551 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3248, allocations: 350.7 kB / 1.339 GB, free: 5.199 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.3251, allocations: 118.1 kB / 1.339 GB, free: 5.082 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.3254, allocations: 240.6 kB / 1.339 GB, free: 4.805 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.3259, allocations: 275.5 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3259, allocations: 0 / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007408/0.3267, allocations: 387.3 kB / 1.34 GB, free: 4.133 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3267, allocations: 4 kB / 1.34 GB, free: 4.129 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3267, allocations: 4 kB / 1.34 GB, free: 4.125 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3267, allocations: 4 kB / 1.34 GB, free: 4.121 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.327, allocations: 67.89 kB / 1.34 GB, free: 4.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.327, allocations: 15.94 kB / 1.34 GB, free: 4.039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.3273, allocations: 31.88 kB / 1.34 GB, free: 4.008 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.3273, allocations: 12 kB / 1.34 GB, free: 3.996 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003545/0.3277, allocations: 244.7 kB / 1.34 GB, free: 3.754 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002967/0.328, allocations: 227.9 kB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004222/0.3284, allocations: 246 kB / 1.34 GB, free: 3.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.807e-06/0.3284, allocations: 4 kB / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006409/0.329, allocations: 361.2 kB / 1.341 GB, free: 2.867 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.329, allocations: 4 kB / 1.341 GB, free: 2.863 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.329, allocations: 4 kB / 1.341 GB, free: 2.859 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-06/0.329, allocations: 3.938 kB / 1.341 GB, free: 2.855 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.3293, allocations: 63.91 kB / 1.341 GB, free: 2.793 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3293, allocations: 4 kB / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.3295, allocations: 36.06 kB / 1.341 GB, free: 2.754 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.3295, allocations: 12 kB / 1.341 GB, free: 2.742 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.ratDp.tab.nextTimeEvent,$whenCondition1,resDpLoc.ctlDpRem.con1.y,ratDp.tab.nextTimeEvent,ratDp.tab.nextTimeEventScaled,$PRE.ratDp.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0001482/0.3297, allocations: 210.3 kB / 1.341 GB, free: 2.531 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.3298, allocations: 39.72 kB / 1.341 GB, free: 2.492 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006519/0.3304, allocations: 290.6 kB / 1.341 GB, free: 2.199 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3304, allocations: 0 / 1.341 GB, free: 2.199 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3304, allocations: 7.984 kB / 1.341 GB, free: 2.191 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.3305, allocations: 35.77 kB / 1.341 GB, free: 2.156 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.3305, allocations: 8 kB / 1.341 GB, free: 2.148 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.3307, allocations: 15.98 kB / 1.341 GB, free: 2.133 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.3308, allocations: 15.95 kB / 1.341 GB, free: 2.117 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007155/0.3315, allocations: 347.1 kB / 1.342 GB, free: 1.773 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000916/0.3324, allocations: 0.5568 MB / 1.342 GB, free: 1.199 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002233/0.3326, allocations: 96.92 kB / 1.342 GB, free: 1.105 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003336/0.333, allocations: 295.1 kB / 1.343 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of Backend: time 4.1e-07/0.333, allocations: 3.938 kB / 1.343 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002883/0.3358, allocations: 0.7938 MB / 1.343 GB, free: 248 kB / 1.029 GB Notification: Performance of SimCode: time 0.001529/0.3374, allocations: 1.142 MB / 1.345 GB, free: 15.05 MB / 1.045 GB Notification: Performance of Templates: time 0.0128/0.3502, allocations: 6.736 MB / 1.351 GB, free: 8.434 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Pumps_Generic_Validation_ResetLocalDifferentialPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.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.543042940000305]