Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0008109/0.0008109, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005388/0.005388, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.741/2.741, allocations: 462.6 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003337, allocations: 8.594 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2901, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.00183/0.292, allocations: 1.346 MB / 1.06 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007051/0.2927, allocations: 337 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.2928, allocations: 0 / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.318e-05/0.2928, allocations: 7.922 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.82e-05/0.2929, allocations: 15.84 kB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.2932, allocations: 63.89 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.2934, allocations: 111.5 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.2935, allocations: 31.97 kB / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.426e-05/0.2936, allocations: 31.86 kB / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.714e-05/0.2937, allocations: 43.77 kB / 1.061 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.2937, allocations: 0 / 1.061 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.2938, allocations: 35.97 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.2939, allocations: 7.938 kB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.92e-05/0.2939, allocations: 65.48 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.2941, allocations: 103.9 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2941, allocations: 4 kB / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2941, allocations: 0 / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.2941, allocations: 0 / 1.061 GB, free: 3.273 MB / 0.8106 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.0005564/0.2947, allocations: 399.1 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2947, allocations: 8.031 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.2962, allocations: 176.6 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.2963, allocations: 172.2 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.2964, allocations: 8.375 kB / 1.062 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.2964, allocations: 12.38 kB / 1.062 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006869/0.2971, allocations: 186 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2971, allocations: 192 / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.2971, allocations: 11.88 kB / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.2972, allocations: 4 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009561/0.2981, allocations: 211.7 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.2993, allocations: 480.3 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.3005, allocations: 210.4 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/0.3009, allocations: 80.84 kB / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.3009, allocations: 0 / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.3009, allocations: 34.56 kB / 1.063 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 3.607e-06/0.3009, allocations: 0 / 1.063 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.001219/0.3022, allocations: 265.2 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.3022, allocations: 51.41 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.3025, allocations: 192.8 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3025, allocations: 25.7 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.3026, allocations: 111.9 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.3026, allocations: 3.906 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.3026, allocations: 17.72 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3027, allocations: 322.8 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004652/0.3032, allocations: 87.92 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.3037, allocations: 110.5 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008168/0.3045, allocations: 182.4 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3046, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001047/0.3056, allocations: 245.4 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.659e-05/0.3057, allocations: 106.7 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3057, allocations: 4 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.3057, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.3061, allocations: 47.94 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3061, allocations: 4 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004078/0.3065, allocations: 51.78 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.87e-05/0.3065, allocations: 8 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.3065, allocations: 4 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004095/0.3069, allocations: 103.8 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.307, allocations: 4.125 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-06/0.307, allocations: 4 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.3071, allocations: 28.03 kB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.3071, allocations: 4 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.3073, allocations: 27.77 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3073, allocations: 7.984 kB / 1.065 GB, free: 15.09 MB / 0.8262 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.0001085/0.3074, allocations: 189.1 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.3075, allocations: 11.91 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.682e-05/0.3075, allocations: 12.25 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.3076, allocations: 4.125 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3076, allocations: 3.938 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.3076, allocations: 7.969 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.3078, allocations: 209.5 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3078, allocations: 0 / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.3081, allocations: 47.88 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3081, allocations: 0 / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3081, allocations: 4 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3081, allocations: 0 / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3081, allocations: 3.938 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008591/0.309, allocations: 279.3 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.046e-05/0.3091, allocations: 96.98 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.3091, allocations: 4 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.3094, allocations: 23.97 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.3094, allocations: 15.92 kB / 1.066 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.3095, allocations: 4 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001919/0.3097, allocations: 141.4 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3097, allocations: 0 / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003428/0.31, allocations: 39.91 kB / 1.066 GB, free: 13.92 MB / 0.8262 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.0001134/0.3101, allocations: 103.2 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.3113, allocations: 231.7 kB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3113, allocations: 0 / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003876/0.3117, allocations: 80.16 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.312, allocations: 14.03 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.3131, allocations: 289 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.3135, allocations: 0.6965 MB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000191/0.3137, allocations: 20 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-05/0.3138, allocations: 23.34 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of SimCode: time 1.924e-06/0.3138, allocations: 4 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of Templates: time 0.004138/0.3179, allocations: 1.544 MB / 1.069 GB, free: 10.88 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches