Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006362/0.006362, allocations: 97.36 kB / 15.73 MB, free: 5.988 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.001582/0.001582, allocations: 187.8 kB / 16.67 MB, free: 5.918 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: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.622/2.622, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 63.12 kB / 0.9508 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2833, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002729/0.286, allocations: 1.61 MB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006411/0.2867, allocations: 309.4 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/0.2868, allocations: 4 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.2868, allocations: 7.922 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.807e-05/0.2869, allocations: 15.8 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.2872, allocations: 71.8 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.2873, allocations: 103.7 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.2875, allocations: 39.89 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.815e-05/0.2876, allocations: 43.8 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.989e-05/0.2877, allocations: 43.77 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.2877, allocations: 8 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.257e-05/0.2878, allocations: 27.98 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.773e-05/0.2878, allocations: 19.97 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.2879, allocations: 43.73 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.288, allocations: 99.56 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2881, allocations: 7.984 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2881, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2881, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 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.0005966/0.2887, allocations: 407 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.2887, allocations: 8.031 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.2898, allocations: 124.7 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.2899, allocations: 180.2 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.2899, allocations: 4.375 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.29, allocations: 8.375 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.2905, allocations: 151.8 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2906, allocations: 192 / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.2906, allocations: 7.938 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2906, allocations: 8 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007709/0.2914, allocations: 143.8 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.2924, allocations: 452.3 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007035/0.2931, allocations: 146.4 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.2935, allocations: 68.91 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.2935, allocations: 4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.2936, allocations: 34.56 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.2936, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.001228/0.2948, allocations: 241.4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.2948, allocations: 63.33 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.295, allocations: 157.3 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.2951, allocations: 25.7 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.2951, allocations: 112 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.2952, allocations: 15.83 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.2952, allocations: 25.7 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.2954, allocations: 322.8 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/0.2958, allocations: 76.78 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.2962, allocations: 71.92 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007125/0.2969, allocations: 132.7 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2969, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008181/0.2977, allocations: 193.4 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2978, allocations: 4 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2978, allocations: 3.938 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2978, allocations: 0 / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.2981, allocations: 47.83 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.2981, allocations: 240 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.2983, allocations: 23.97 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.2983, allocations: 7.984 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001449/0.2985, allocations: 112.1 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001071/0.2986, allocations: 52.28 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001972/0.2988, allocations: 88.44 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/0.2988, allocations: 0 / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002625/0.2991, allocations: 105.5 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/0.2991, allocations: 4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2991, allocations: 7.938 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.466e-06/0.2991, allocations: 4 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.2992, allocations: 24.14 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2993, allocations: 7.938 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.2993, allocations: 15.88 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.2994, allocations: 4 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.0001106/0.2995, allocations: 180.2 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.2995, allocations: 11.95 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.315e-05/0.2996, allocations: 20.3 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.2996, allocations: 3.938 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2996, allocations: 0 / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.2996, allocations: 4 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.3008, allocations: 476 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3008, allocations: 3.938 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.301, allocations: 35.94 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.301, allocations: 0 / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.301, allocations: 4 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3011, allocations: 0 / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3011, allocations: 0 / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/0.3019, allocations: 293.1 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.145e-05/0.302, allocations: 101 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.302, allocations: 8 kB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.3022, allocations: 19.97 kB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.3023, allocations: 0 / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.3023, allocations: 11.98 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.575e-05/0.3024, allocations: 121.1 kB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3024, allocations: 4 kB / 1.095 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003142/0.3027, allocations: 24 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0001336/0.3029, allocations: 103.2 kB / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009231/0.3038, allocations: 187.8 kB / 1.095 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3038, allocations: 3.938 kB / 1.095 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.3042, allocations: 76.17 kB / 1.095 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.3046, allocations: 18.12 kB / 1.095 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.3056, allocations: 281 kB / 1.096 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.3059, allocations: 0.7006 MB / 1.096 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.563e-05/0.306, allocations: 19.92 kB / 1.096 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.3061, allocations: 23.41 kB / 1.096 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3061, allocations: 0 / 1.096 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of Templates: time 0.003656/0.3097, allocations: 1.438 MB / 1.098 GB, free: 6.852 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches