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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001571/0.001571, allocations: 109.1 kB / 15.99 MB, free: 6.355 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.001529/0.001529, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.41/1.41, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.682/2.682, allocations: 469.8 MB / 0.7427 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 68.88 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.332, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003334/0.3354, allocations: 1.689 MB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007995/0.3362, allocations: 333.1 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.837e-05/0.3363, allocations: 4 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.237e-05/0.3363, allocations: 7.922 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.466e-05/0.3365, allocations: 11.86 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.3368, allocations: 71.86 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.337, allocations: 111.6 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.3372, allocations: 31.97 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3373, allocations: 43.86 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.668e-05/0.3374, allocations: 43.78 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.3374, allocations: 8 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3375, allocations: 31.97 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.3376, allocations: 27.91 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.19e-05/0.3376, allocations: 39.8 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.3378, allocations: 76.11 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3378, allocations: 3.984 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.133e-06/0.3378, allocations: 0 / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.3378, allocations: 0 / 1.067 GB, free: 12.56 MB / 0.8419 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.0006596/0.3385, allocations: 399.2 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3385, allocations: 8.031 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.34, allocations: 172.5 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.3402, allocations: 176.2 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.3402, allocations: 4.375 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.3403, allocations: 8.375 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006729/0.3409, allocations: 174.1 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.341, allocations: 4.125 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.341, allocations: 3.938 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.341, allocations: 4 kB / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009649/0.342, allocations: 183.8 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.3433, allocations: 480.2 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.3444, allocations: 182.3 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.3448, allocations: 68.84 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.3449, allocations: 4 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.3449, allocations: 30.56 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.863e-06/0.3449, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.001195/0.3461, allocations: 229.5 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.3462, allocations: 55.34 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.3465, allocations: 196.5 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.3465, allocations: 25.7 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.952e-05/0.3466, allocations: 99.95 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.3466, allocations: 15.89 kB / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.394e-05/0.3467, allocations: 29.69 kB / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002098/0.3469, allocations: 318.8 kB / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004614/0.3474, allocations: 96.75 kB / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/0.3479, allocations: 106.5 kB / 1.07 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007712/0.3487, allocations: 158.4 kB / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3487, allocations: 0 / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009898/0.3497, allocations: 217.4 kB / 1.07 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3497, allocations: 7.938 kB / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3497, allocations: 0 / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3497, allocations: 4.125 kB / 1.07 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.3501, allocations: 51.94 kB / 1.07 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3501, allocations: 0 / 1.07 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.3505, allocations: 43.8 kB / 1.07 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.3505, allocations: 11.92 kB / 1.07 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002372/0.3508, allocations: 120.1 kB / 1.07 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002061/0.351, allocations: 81.97 kB / 1.07 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002845/0.3513, allocations: 105.8 kB / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.3513, allocations: 0 / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004596/0.3518, allocations: 141.4 kB / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3518, allocations: 8 kB / 1.07 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-06/0.3518, allocations: 0 / 1.07 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/0.3518, allocations: 4 kB / 1.07 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.352, allocations: 36.06 kB / 1.07 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.352, allocations: 4 kB / 1.07 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.3523, allocations: 19.97 kB / 1.07 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.3523, allocations: 8 kB / 1.071 GB, free: 8.25 MB / 0.8419 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.0001243/0.3524, allocations: 180.2 kB / 1.071 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.3524, allocations: 11.81 kB / 1.071 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.682e-05/0.3525, allocations: 20.19 kB / 1.071 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3525, allocations: 0 / 1.071 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3525, allocations: 0 / 1.071 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3525, allocations: 3.984 kB / 1.071 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.3528, allocations: 201.6 kB / 1.071 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3529, allocations: 4.062 kB / 1.071 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.3531, allocations: 43.88 kB / 1.071 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.3531, allocations: 4 kB / 1.071 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3531, allocations: 3.938 kB / 1.071 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3531, allocations: 0 / 1.071 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3532, allocations: 0 / 1.071 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009124/0.3541, allocations: 255.3 kB / 1.071 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.813e-05/0.3542, allocations: 96.98 kB / 1.071 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.3542, allocations: 7.938 kB / 1.071 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.3545, allocations: 23.97 kB / 1.071 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.3546, allocations: 7.984 kB / 1.071 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.3546, allocations: 4 kB / 1.071 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002036/0.3548, allocations: 141 kB / 1.071 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.164e-06/0.3548, allocations: 0 / 1.071 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003717/0.3552, allocations: 39.94 kB / 1.072 GB, free: 7.125 MB / 0.8419 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.0001478/0.3553, allocations: 103.2 kB / 1.072 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.3565, allocations: 212 kB / 1.072 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3565, allocations: 0 / 1.072 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003639/0.3568, allocations: 72.09 kB / 1.072 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3572, allocations: 8 kB / 1.072 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009993/0.3582, allocations: 310.8 kB / 1.072 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.3586, allocations: 0.6924 MB / 1.073 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.3587, allocations: 23.41 kB / 1.073 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/0.3587, allocations: 0 / 1.073 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of Templates: time 0.004126/0.3628, allocations: 1.711 MB / 1.075 GB, free: 3.953 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (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 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) 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) Reference file matches