Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.001637/0.001637, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002028/0.002028, allocations: 210.1 kB / 22.99 MB, free: 4.984 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.536/1.536, 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.277/3.277, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] 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.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") [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.002095/0.002095, allocations: 72.14 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4019, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003408/0.4053, allocations: 1.621 MB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0008298/0.4061, allocations: 328.9 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.676e-05/0.4062, allocations: 4 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.4062, allocations: 7.922 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.234e-05/0.4063, allocations: 19.8 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.4067, allocations: 79.8 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.4069, allocations: 111.6 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.4071, allocations: 27.92 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.235e-05/0.4072, allocations: 43.86 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.205e-05/0.4073, allocations: 43.83 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.4073, allocations: 8 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.4074, allocations: 39.97 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/0.4074, allocations: 23.92 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.4075, allocations: 35.8 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.4077, allocations: 111.5 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4077, allocations: 0 / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4077, allocations: 0 / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.4077, allocations: 0 / 1.33 GB, free: 14.52 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006609/0.4083, allocations: 325.9 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4084, allocations: 11.97 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.4099, allocations: 172.6 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.41, allocations: 122.4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.4101, allocations: 8.375 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.4101, allocations: 4.375 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006809/0.4108, allocations: 181.9 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4108, allocations: 192 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.4108, allocations: 7.938 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.4108, allocations: 7.938 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009712/0.4118, allocations: 179.8 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.4131, allocations: 384.1 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.4143, allocations: 190.4 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/0.4146, allocations: 64.86 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.4147, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.4147, allocations: 30.56 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.4147, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.001304/0.416, allocations: 225.4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.416, allocations: 59.33 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.4163, allocations: 159.2 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.4163, allocations: 29.7 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.4164, allocations: 115.9 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.4165, allocations: 11.91 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.252e-05/0.4165, allocations: 29.69 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4167, allocations: 318.8 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004683/0.4172, allocations: 88.77 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/0.4176, allocations: 102.5 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008105/0.4184, allocations: 158.4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.4184, allocations: 4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001031/0.4195, allocations: 217.5 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.4195, allocations: 4 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4195, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.4195, allocations: 7.938 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.4199, allocations: 47.94 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.4199, allocations: 3.938 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.4203, allocations: 31.95 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.4203, allocations: 11.98 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002419/0.4206, allocations: 120.1 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001906/0.4207, allocations: 77.92 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002766/0.421, allocations: 101.9 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.421, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004606/0.4215, allocations: 145.4 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/0.4215, allocations: 4 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4215, allocations: 7.938 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-06/0.4215, allocations: 4.406 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.4217, allocations: 23.97 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4217, allocations: 7.938 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.4219, allocations: 27.86 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.4219, allocations: 11.98 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 initialization (7): * Single equations (assignments): 7 * 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.0001333/0.4221, allocations: 184.7 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.4221, allocations: 4 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.287e-05/0.4222, allocations: 12.34 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4222, allocations: 3.938 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4222, allocations: 3.984 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4222, allocations: 0 / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.4224, allocations: 141.2 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4224, allocations: 0 / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.4226, allocations: 31.95 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.4226, allocations: 0 / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.4227, allocations: 4 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4227, allocations: 0 / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4227, allocations: 3.938 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008832/0.4235, allocations: 255.3 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.4236, allocations: 19.92 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.4236, allocations: 8.062 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.424, allocations: 23.97 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.424, allocations: 7.922 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.424, allocations: 8 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001887/0.4242, allocations: 129 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4242, allocations: 0 / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003702/0.4246, allocations: 39.89 kB / 1.334 GB, free: 9.574 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001364/0.4247, allocations: 95.25 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.4258, allocations: 211.6 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.4258, allocations: 0.5625 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.4262, allocations: 67.92 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.4266, allocations: 7.141 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.4276, allocations: 251 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.511e-05/0.4277, allocations: 79.31 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000139/0.4278, allocations: 24.05 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.325e-05/0.4279, allocations: 27.39 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4279, allocations: 0 / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of Templates: time 0.004936/0.4329, allocations: 1.799 MB / 1.337 GB, free: 6.98 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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: 9.426230822005891]