Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powCoo.Q_flow|powCoo.WHyd|powNonCoo.Q_flow|powNonCoo.WHyd",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 105.3 kB / 16.27 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 187.4 kB / 17.2 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.567/2.567, allocations: 437 MB / 0.711 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 71.58 kB / 0.8699 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3214, allocations: 151.6 MB / 1.018 GB, free: 10.72 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003477/0.325, allocations: 1.632 MB / 1.02 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008374/0.3258, allocations: 341.4 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.756e-05/0.3259, allocations: 0 / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.721e-05/0.326, allocations: 7.875 kB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.3261, allocations: 23.78 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.3265, allocations: 79.84 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.3267, allocations: 99.66 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.3269, allocations: 35.95 kB / 1.02 GB, free: 8.496 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.327, allocations: 43.84 kB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.3271, allocations: 51.72 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.3271, allocations: 8 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.3272, allocations: 35.97 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.995e-05/0.3273, allocations: 23.91 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.3273, allocations: 35.81 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.3275, allocations: 111.9 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.611e-05/0.3276, allocations: 4 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3276, allocations: 0 / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.3276, allocations: 0 / 1.02 GB, free: 8.188 MB / 0.795 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.0006264/0.3282, allocations: 407.1 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3283, allocations: 8.922 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.3297, allocations: 168.5 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.3299, allocations: 172.7 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.3299, allocations: 8.375 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.3299, allocations: 12.38 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006485/0.3306, allocations: 174 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3306, allocations: 192 / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.3306, allocations: 7.938 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.3306, allocations: 0 / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009293/0.3316, allocations: 183.8 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.3328, allocations: 480.2 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.334, allocations: 182.4 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003608/0.3343, allocations: 64.84 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.3344, allocations: 11.92 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.3344, allocations: 34.56 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.933e-06/0.3344, allocations: 0 / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.001224/0.3356, allocations: 225.2 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.3357, allocations: 51.41 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.336, allocations: 196.3 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.336, allocations: 25.7 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.3361, allocations: 111.9 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.3361, allocations: 15.8 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-05/0.3362, allocations: 33.69 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3363, allocations: 314.8 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.3368, allocations: 88.77 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/0.3373, allocations: 98.48 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008154/0.3381, allocations: 158.4 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3381, allocations: 0 / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001022/0.3391, allocations: 217.4 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3392, allocations: 8.047 kB / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3392, allocations: 4 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3392, allocations: 3.938 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.3395, allocations: 43.94 kB / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.3396, allocations: 3.938 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/0.34, allocations: 51.86 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.34, allocations: 7.984 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002197/0.3402, allocations: 120.1 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001906/0.3404, allocations: 77.97 kB / 1.024 GB, free: 4.223 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002774/0.3407, allocations: 105.9 kB / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.3407, allocations: 0 / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004463/0.3412, allocations: 141.5 kB / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3412, allocations: 10.34 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.3412, allocations: 0 / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.568e-06/0.3412, allocations: 4 kB / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.3414, allocations: 23.92 kB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3414, allocations: 3.984 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.3416, allocations: 24.02 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.3417, allocations: 7.984 kB / 1.024 GB, free: 3.883 MB / 0.795 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.0001028/0.3418, allocations: 188.1 kB / 1.024 GB, free: 3.691 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.3418, allocations: 11.84 kB / 1.025 GB, free: 3.68 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.112e-05/0.3419, allocations: 12.19 kB / 1.025 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3419, allocations: 192 / 1.025 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3419, allocations: 0 / 1.025 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3419, allocations: 7.984 kB / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.3421, allocations: 213.5 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3421, allocations: 0 / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.3424, allocations: 27.95 kB / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3424, allocations: 0 / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.3424, allocations: 11.92 kB / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3424, allocations: 0 / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3424, allocations: 4 kB / 1.025 GB, free: 3.355 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008205/0.3432, allocations: 255.2 kB / 1.025 GB, free: 3.09 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.93e-05/0.3434, allocations: 104.9 kB / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.3434, allocations: 7.938 kB / 1.025 GB, free: 2.961 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.3437, allocations: 23.97 kB / 1.025 GB, free: 2.938 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.3437, allocations: 4 kB / 1.025 GB, free: 2.934 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.3438, allocations: 3.984 kB / 1.025 GB, free: 2.93 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001957/0.344, allocations: 147.9 kB / 1.025 GB, free: 2.785 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.21e-07/0.344, allocations: 0 / 1.025 GB, free: 2.785 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003588/0.3443, allocations: 36 kB / 1.025 GB, free: 2.75 MB / 0.795 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.0001406/0.3445, allocations: 95.25 kB / 1.025 GB, free: 2.645 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.3456, allocations: 215.7 kB / 1.026 GB, free: 2.434 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3456, allocations: 0 / 1.026 GB, free: 2.434 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.346, allocations: 68.47 kB / 1.026 GB, free: 2.367 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.3463, allocations: 8 kB / 1.026 GB, free: 2.359 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009477/0.3473, allocations: 269.5 kB / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.3475, allocations: 0.6924 MB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.3476, allocations: 27.34 kB / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of SimCode: time 6.21e-07/0.3477, allocations: 4 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of Templates: time 0.003586/0.3512, allocations: 1.715 MB / 1.028 GB, free: 15.61 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches