Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001685/0.001685, allocations: 79.81 kB / 19.76 MB, free: 2.031 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.002398/0.002398, allocations: 157.6 kB / 23.01 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.47/1.47, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.632/2.632, allocations: 359.1 MB / 0.6044 GB, free: 14.81 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.001975/0.001975, allocations: 67.89 kB / 0.9515 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3134, allocations: 169.9 MB / 1.117 GB, free: 2.488 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.00347/0.3168, allocations: 1.621 MB / 1.119 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007582/0.3176, allocations: 327.1 kB / 1.119 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.3176, allocations: 0 / 1.119 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.262e-05/0.3177, allocations: 7.875 kB / 1.119 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.289e-05/0.3178, allocations: 23.78 kB / 1.119 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.3181, allocations: 83.78 kB / 1.119 GB, free: 432 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.3183, allocations: 103.6 kB / 1.12 GB, free: 328 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.3184, allocations: 31.97 kB / 1.12 GB, free: 296 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.803e-05/0.3185, allocations: 35.86 kB / 1.12 GB, free: 260 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.32e-05/0.3186, allocations: 51.77 kB / 1.12 GB, free: 208 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.3186, allocations: 8 kB / 1.12 GB, free: 200 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-05/0.3187, allocations: 31.97 kB / 1.12 GB, free: 168 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.3187, allocations: 19.92 kB / 1.12 GB, free: 148 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.3188, allocations: 31.86 kB / 1.12 GB, free: 116 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.319, allocations: 115.5 kB / 1.12 GB, free: 0 / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.319, allocations: 0 / 1.12 GB, free: 0 / 1.061 GB Notification: Performance of FrontEnd: time 1.904e-06/0.319, allocations: 0 / 1.12 GB, free: 0 / 1.061 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.319, allocations: 112 / 1.12 GB, free: 16 MB / 1.076 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.000599/0.3196, allocations: 337.6 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3196, allocations: 19.97 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.3211, allocations: 160.7 kB / 1.12 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.3212, allocations: 122.4 kB / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.3212, allocations: 8.375 kB / 1.12 GB, free: 15.31 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.3212, allocations: 4.375 kB / 1.12 GB, free: 15.3 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006555/0.3219, allocations: 170.1 kB / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3219, allocations: 192 / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.3219, allocations: 19.86 kB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3219, allocations: 0 / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000974/0.3229, allocations: 187.7 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.3241, allocations: 388.1 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.3253, allocations: 178.4 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003774/0.3257, allocations: 68.84 kB / 1.121 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.3257, allocations: 0 / 1.121 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.3257, allocations: 34.56 kB / 1.121 GB, free: 14.22 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.3257, allocations: 0 / 1.121 GB, free: 14.22 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.001229/0.3269, allocations: 217.4 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.327, allocations: 59.34 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.3272, allocations: 164.9 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.3273, allocations: 29.7 kB / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.3274, allocations: 115.9 kB / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.3274, allocations: 11.94 kB / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.3275, allocations: 29.69 kB / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3276, allocations: 318.8 kB / 1.122 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004935/0.3281, allocations: 84.77 kB / 1.122 GB, free: 13.16 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005077/0.3286, allocations: 102.5 kB / 1.123 GB, free: 13.05 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008538/0.3295, allocations: 166.3 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.3295, allocations: 3.984 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001062/0.3305, allocations: 213.5 kB / 1.123 GB, free: 12.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3306, allocations: 4 kB / 1.123 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3306, allocations: 4 kB / 1.123 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3306, allocations: 3.938 kB / 1.123 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/0.3309, allocations: 47.92 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3309, allocations: 0 / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004278/0.3314, allocations: 47.89 kB / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.3314, allocations: 3.984 kB / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002432/0.3316, allocations: 120.1 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002188/0.3318, allocations: 81.91 kB / 1.123 GB, free: 12.33 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002967/0.3321, allocations: 101.9 kB / 1.123 GB, free: 12.21 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.3321, allocations: 4 kB / 1.123 GB, free: 12.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004718/0.3326, allocations: 133.4 kB / 1.123 GB, free: 12.07 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3326, allocations: 12.2 kB / 1.123 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-06/0.3326, allocations: 7.938 kB / 1.123 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-06/0.3326, allocations: 0 / 1.123 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.3328, allocations: 28.05 kB / 1.124 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3328, allocations: 3.938 kB / 1.124 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.3331, allocations: 23.92 kB / 1.124 GB, free: 11.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3331, allocations: 8 kB / 1.124 GB, free: 11.98 MB / 1.076 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.000133/0.3332, allocations: 193.1 kB / 1.124 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.3332, allocations: 4 kB / 1.124 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/0.3333, allocations: 4.344 kB / 1.124 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.3333, allocations: 3.938 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3333, allocations: 4 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3333, allocations: 0 / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.3335, allocations: 141.2 kB / 1.124 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3335, allocations: 0 / 1.124 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.3338, allocations: 35.95 kB / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3338, allocations: 4 kB / 1.124 GB, free: 11.56 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.3338, allocations: 3.984 kB / 1.124 GB, free: 11.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3338, allocations: 0 / 1.124 GB, free: 11.56 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3338, allocations: 7.875 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008578/0.3346, allocations: 251.4 kB / 1.124 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.3347, allocations: 16.17 kB / 1.124 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.3347, allocations: 4 kB / 1.124 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.335, allocations: 27.95 kB / 1.124 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.3351, allocations: 19.86 kB / 1.124 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.3351, allocations: 3.984 kB / 1.124 GB, free: 11.22 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001908/0.3353, allocations: 121.8 kB / 1.124 GB, free: 11.1 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3353, allocations: 0 / 1.124 GB, free: 11.1 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003744/0.3356, allocations: 47.89 kB / 1.124 GB, free: 11.05 MB / 1.076 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.0001275/0.3358, allocations: 95.25 kB / 1.124 GB, free: 10.95 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.3369, allocations: 204.2 kB / 1.125 GB, free: 10.75 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3369, allocations: 3.938 kB / 1.125 GB, free: 10.75 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003779/0.3373, allocations: 63.92 kB / 1.125 GB, free: 10.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.3376, allocations: 12.11 kB / 1.125 GB, free: 10.67 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009603/0.3386, allocations: 251 kB / 1.125 GB, free: 10.4 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.422e-05/0.3386, allocations: 83.22 kB / 1.125 GB, free: 10.3 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001413/0.3388, allocations: 23.98 kB / 1.125 GB, free: 10.27 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/0.3389, allocations: 20.48 kB / 1.125 GB, free: 10.25 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.3389, allocations: 0 / 1.125 GB, free: 10.25 MB / 1.076 GB Notification: Performance of Templates: time 0.004802/0.3437, allocations: 1.699 MB / 1.127 GB, free: 8.555 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.543025419930927]