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.001278/0.001278, allocations: 106.4 kB / 16.27 MB, free: 6.414 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.001291/0.001292, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.513/2.513, allocations: 437.1 MB / 0.7111 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 68.33 kB / 0.8699 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3173, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003215/0.3206, allocations: 1.62 MB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007048/0.3213, allocations: 345.4 kB / 1.02 GB, free: 8.66 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.3214, allocations: 4 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.3214, allocations: 7.875 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.06e-05/0.3215, allocations: 19.78 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.3219, allocations: 75.86 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.322, allocations: 107.6 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.3222, allocations: 23.98 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.755e-05/0.3223, allocations: 47.78 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.103e-05/0.3224, allocations: 51.77 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.3224, allocations: 8 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-05/0.3225, allocations: 35.97 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.3225, allocations: 15.98 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.3226, allocations: 47.73 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.3228, allocations: 107.9 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3228, allocations: 0 / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3228, allocations: 0 / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3228, allocations: 0 / 1.02 GB, free: 8.117 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.0006348/0.3234, allocations: 403.1 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3235, allocations: 12.91 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.3249, allocations: 168.5 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.3251, allocations: 177 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.3251, allocations: 4.375 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.3251, allocations: 12.31 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006441/0.3258, allocations: 170.1 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3258, allocations: 4.188 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.3258, allocations: 7.938 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3259, allocations: 0 / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009868/0.3269, allocations: 187.8 kB / 1.022 GB, free: 6.902 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.3282, allocations: 480.2 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.3294, allocations: 182.4 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003752/0.3298, allocations: 68.84 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3298, allocations: 3.984 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.3299, allocations: 42.5 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 4.569e-06/0.3299, allocations: 4 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.001282/0.3312, allocations: 225.2 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.3312, allocations: 51.41 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.3315, allocations: 196.7 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.3315, allocations: 25.7 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.466e-05/0.3316, allocations: 107.9 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.3317, allocations: 15.8 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.3317, allocations: 29.69 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3319, allocations: 318.8 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004766/0.3324, allocations: 84.77 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005123/0.3329, allocations: 110.4 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008124/0.3337, allocations: 154.4 kB / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3337, allocations: 0 / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001038/0.3348, allocations: 209.4 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3348, allocations: 14.17 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3348, allocations: 0 / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3349, allocations: 3.938 kB / 1.024 GB, free: 4.473 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.3352, allocations: 51.88 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3352, allocations: 4 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.3356, allocations: 43.8 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.3356, allocations: 7.984 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000266/0.3359, allocations: 116.1 kB / 1.024 GB, free: 4.25 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002073/0.3361, allocations: 85.95 kB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002837/0.3364, allocations: 101.8 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.537e-06/0.3364, allocations: 4 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004468/0.3369, allocations: 137.4 kB / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.3369, allocations: 8 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-06/0.3369, allocations: 224 / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/0.3369, allocations: 8 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.3371, allocations: 23.92 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.3371, allocations: 7.922 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.3374, allocations: 15.98 kB / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.3374, allocations: 11.98 kB / 1.024 GB, free: 3.805 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.0001249/0.3375, allocations: 188.2 kB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.3376, allocations: 7.906 kB / 1.025 GB, free: 3.605 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.212e-05/0.3377, allocations: 16.19 kB / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3377, allocations: 3.938 kB / 1.025 GB, free: 3.582 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3377, allocations: 3.938 kB / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3377, allocations: 0 / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.3379, allocations: 209.5 kB / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.338, allocations: 8 kB / 1.025 GB, free: 3.316 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.3382, allocations: 31.95 kB / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3382, allocations: 0 / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.3382, allocations: 7.922 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.3382, allocations: 4 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3382, allocations: 0 / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008445/0.3391, allocations: 259.2 kB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.265e-05/0.3392, allocations: 96.98 kB / 1.025 GB, free: 2.891 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.3392, allocations: 3.938 kB / 1.025 GB, free: 2.887 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.3395, allocations: 27.97 kB / 1.025 GB, free: 2.859 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.3396, allocations: 4 kB / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.3396, allocations: 7.984 kB / 1.025 GB, free: 2.848 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001986/0.3398, allocations: 141.4 kB / 1.025 GB, free: 2.711 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3398, allocations: 0 / 1.025 GB, free: 2.711 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003524/0.3402, allocations: 40 kB / 1.025 GB, free: 2.672 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.0001495/0.3403, allocations: 95.25 kB / 1.025 GB, free: 2.566 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.3414, allocations: 211.7 kB / 1.026 GB, free: 2.359 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3414, allocations: 0 / 1.026 GB, free: 2.359 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.3418, allocations: 72.41 kB / 1.026 GB, free: 2.289 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.3421, allocations: 8 kB / 1.026 GB, free: 2.281 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009427/0.343, allocations: 275.7 kB / 1.026 GB, free: 1.984 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.3434, allocations: 0.6885 MB / 1.027 GB, free: 1.27 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.519e-05/0.3435, allocations: 23.41 kB / 1.027 GB, free: 1.246 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.3435, allocations: 0 / 1.027 GB, free: 1.246 MB / 0.795 GB Notification: Performance of Templates: time 0.003785/0.3473, allocations: 1.712 MB / 1.028 GB, free: 15.54 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=400 -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