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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001577/0.001577, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.001751/0.001751, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.429/2.429, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 68.05 kB / 0.8707 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3456, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.004503/0.3501, allocations: 1.621 MB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3512, allocations: 337.4 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.36e-05/0.3513, allocations: 0 / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.729e-05/0.3514, allocations: 7.875 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.3515, allocations: 27.78 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.3521, allocations: 79.78 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.3523, allocations: 119.6 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.3525, allocations: 35.95 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.3526, allocations: 39.86 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.3528, allocations: 55.7 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.3528, allocations: 7.984 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.353, allocations: 31.98 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/0.353, allocations: 15.98 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.042e-05/0.3531, allocations: 47.73 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.3534, allocations: 111.6 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3534, allocations: 0 / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3534, allocations: 0 / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.3534, allocations: 0 / 1.021 GB, free: 7.285 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.0008364/0.3543, allocations: 407.1 kB / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.3543, allocations: 8.922 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00195/0.3563, allocations: 168.5 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.3565, allocations: 176.7 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.3565, allocations: 8.375 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.3565, allocations: 12.38 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006373/0.3572, allocations: 166.1 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.3572, allocations: 192 / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.3572, allocations: 7.938 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3572, allocations: 3.984 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009125/0.3582, allocations: 187.8 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.3595, allocations: 480.2 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.3606, allocations: 190.3 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.3609, allocations: 64.84 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.361, allocations: 4 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.361, allocations: 30.56 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.361, allocations: 0 / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.001171/0.3622, allocations: 225.3 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.3623, allocations: 51.41 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.3625, allocations: 201 kB / 1.024 GB, free: 4.754 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.3625, allocations: 25.7 kB / 1.024 GB, free: 4.723 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.411e-05/0.3626, allocations: 103.9 kB / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.3627, allocations: 11.81 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.022e-05/0.3627, allocations: 33.62 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3629, allocations: 322.8 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/0.3633, allocations: 84.77 kB / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004608/0.3638, allocations: 106.5 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007525/0.3646, allocations: 154.4 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3646, allocations: 4 kB / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009925/0.3656, allocations: 213.3 kB / 1.025 GB, free: 3.664 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3656, allocations: 12 kB / 1.025 GB, free: 3.652 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3656, allocations: 4 kB / 1.025 GB, free: 3.648 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.3657, allocations: 3.938 kB / 1.025 GB, free: 3.645 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.366, allocations: 47.92 kB / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.366, allocations: 4 kB / 1.025 GB, free: 3.594 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.3664, allocations: 43.8 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.3665, allocations: 12.05 kB / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002227/0.3667, allocations: 120.1 kB / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001903/0.3669, allocations: 77.97 kB / 1.025 GB, free: 3.32 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002547/0.3672, allocations: 109.8 kB / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.3672, allocations: 0 / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004417/0.3676, allocations: 137.6 kB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3677, allocations: 10.33 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3677, allocations: 4 kB / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-06/0.3677, allocations: 0 / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.3678, allocations: 31.86 kB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.3678, allocations: 0 / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.3681, allocations: 24.03 kB / 1.025 GB, free: 2.984 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.3681, allocations: 8 kB / 1.025 GB, free: 2.977 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.0001187/0.3682, allocations: 184.2 kB / 1.025 GB, free: 2.789 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.3683, allocations: 11.89 kB / 1.025 GB, free: 2.777 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.728e-05/0.3683, allocations: 16.19 kB / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.3684, allocations: 192 / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3684, allocations: 4 kB / 1.025 GB, free: 2.754 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3684, allocations: 3.984 kB / 1.025 GB, free: 2.75 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.3686, allocations: 213.5 kB / 1.026 GB, free: 2.492 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3686, allocations: 0 / 1.026 GB, free: 2.492 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.3689, allocations: 27.95 kB / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3689, allocations: 0 / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.3689, allocations: 11.92 kB / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3689, allocations: 7.938 kB / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3689, allocations: 4 kB / 1.026 GB, free: 2.441 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007866/0.3697, allocations: 251.3 kB / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.613e-05/0.3698, allocations: 93 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.3698, allocations: 7.938 kB / 1.026 GB, free: 2.062 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.3701, allocations: 27.95 kB / 1.026 GB, free: 2.035 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.3702, allocations: 0 / 1.026 GB, free: 2.035 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.3702, allocations: 11.98 kB / 1.026 GB, free: 2.023 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001885/0.3704, allocations: 141.4 kB / 1.026 GB, free: 1.887 MB / 0.795 GB Notification: Performance of sort global known variables: time 3e-07/0.3704, allocations: 0 / 1.026 GB, free: 1.887 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003638/0.3708, allocations: 40 kB / 1.026 GB, free: 1.848 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.0001223/0.3709, allocations: 95.25 kB / 1.026 GB, free: 1.742 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.372, allocations: 211.6 kB / 1.026 GB, free: 1.535 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.372, allocations: 3.938 kB / 1.026 GB, free: 1.531 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003583/0.3723, allocations: 68.48 kB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.3727, allocations: 8 kB / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009326/0.3736, allocations: 251 kB / 1.027 GB, free: 1.188 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.3739, allocations: 0.6924 MB / 1.027 GB, free: 480 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.374, allocations: 23.98 kB / 1.027 GB, free: 456 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.057e-05/0.3741, allocations: 19.42 kB / 1.027 GB, free: 436 kB / 0.795 GB Notification: Performance of SimCode: time 4.01e-07/0.3741, allocations: 0 / 1.027 GB, free: 436 kB / 0.795 GB Notification: Performance of Templates: time 0.004549/0.3787, allocations: 1.684 MB / 1.029 GB, free: 14.75 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 -s gbode -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