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.001431/0.001431, allocations: 115.6 kB / 16.37 MB, free: 6.016 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.00161/0.00161, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.01 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.419/2.419, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 64.12 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2831, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002567/0.2857, allocations: 1.63 MB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006036/0.2863, allocations: 333.5 kB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.2864, allocations: 4 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.539e-05/0.2864, allocations: 15.8 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.56e-05/0.2865, allocations: 19.78 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.2868, allocations: 83.78 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.2869, allocations: 103.7 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.287, allocations: 35.92 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.272e-05/0.2871, allocations: 35.91 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.583e-05/0.2872, allocations: 47.78 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.2872, allocations: 8 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.815e-05/0.2873, allocations: 35.97 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.2874, allocations: 23.91 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.2874, allocations: 39.8 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.2876, allocations: 111.6 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2876, allocations: 0 / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2876, allocations: 0 / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.2876, allocations: 0 / 1.021 GB, free: 7.352 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.000564/0.2882, allocations: 411.1 kB / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.2882, allocations: 8.922 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.2896, allocations: 168.5 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.2897, allocations: 184.9 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.2898, allocations: 8.375 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.2898, allocations: 4.375 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00063/0.2904, allocations: 170.1 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2905, allocations: 192 / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.2905, allocations: 7.938 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2905, allocations: 0 / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009047/0.2914, allocations: 191.7 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.2926, allocations: 468.3 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.2937, allocations: 194.3 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004214/0.2941, allocations: 64.86 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.2942, allocations: 3.984 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.2942, allocations: 38.56 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.2942, allocations: 3.938 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.001119/0.2953, allocations: 221.2 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.2954, allocations: 59.41 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.2956, allocations: 194.3 kB / 1.024 GB, free: 4.812 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.2957, allocations: 25.7 kB / 1.024 GB, free: 4.781 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/0.2957, allocations: 111.9 kB / 1.024 GB, free: 4.668 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.2957, allocations: 11.81 kB / 1.024 GB, free: 4.656 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.2958, allocations: 29.69 kB / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.296, allocations: 322.8 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004415/0.2964, allocations: 92.77 kB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004431/0.2969, allocations: 98.48 kB / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/0.2976, allocations: 158.3 kB / 1.024 GB, free: 3.934 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2976, allocations: 0 / 1.024 GB, free: 3.934 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009095/0.2985, allocations: 221.4 kB / 1.025 GB, free: 3.711 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2986, allocations: 4 kB / 1.025 GB, free: 3.707 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.2986, allocations: 0 / 1.025 GB, free: 3.707 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2986, allocations: 3.938 kB / 1.025 GB, free: 3.703 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.2989, allocations: 47.94 kB / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2989, allocations: 0 / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/0.2993, allocations: 47.97 kB / 1.025 GB, free: 3.609 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.2993, allocations: 8 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002081/0.2995, allocations: 120.1 kB / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001762/0.2997, allocations: 81.92 kB / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002515/0.3, allocations: 105.9 kB / 1.025 GB, free: 3.254 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.3, allocations: 0 / 1.025 GB, free: 3.254 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0003941/0.3004, allocations: 129.4 kB / 1.025 GB, free: 3.121 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3004, allocations: 10.66 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.3004, allocations: 7.922 kB / 1.025 GB, free: 3.105 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-06/0.3004, allocations: 4 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.3006, allocations: 32.12 kB / 1.025 GB, free: 3.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.3006, allocations: 4 kB / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.3008, allocations: 23.97 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.3008, allocations: 4 kB / 1.025 GB, free: 3.039 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 9.706e-05/0.3009, allocations: 180.2 kB / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.301, allocations: 7.906 kB / 1.025 GB, free: 2.848 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.49e-05/0.3011, allocations: 24.17 kB / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3011, allocations: 0 / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-06/0.3011, allocations: 0 / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3011, allocations: 3.938 kB / 1.025 GB, free: 2.816 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.3013, allocations: 213.5 kB / 1.026 GB, free: 2.559 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3013, allocations: 4 kB / 1.026 GB, free: 2.555 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.3015, allocations: 31.95 kB / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3015, allocations: 3.938 kB / 1.026 GB, free: 2.52 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.3016, allocations: 11.92 kB / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3016, allocations: 0 / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3016, allocations: 3.938 kB / 1.026 GB, free: 2.504 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007453/0.3023, allocations: 251.3 kB / 1.026 GB, free: 2.242 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9e-05/0.3024, allocations: 96.98 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.3025, allocations: 11.94 kB / 1.026 GB, free: 2.117 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.3028, allocations: 23.95 kB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.3028, allocations: 8 kB / 1.026 GB, free: 2.086 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.3028, allocations: 3.984 kB / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001795/0.303, allocations: 145.4 kB / 1.026 GB, free: 1.941 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.563e-06/0.303, allocations: 0 / 1.026 GB, free: 1.941 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003465/0.3034, allocations: 35.94 kB / 1.026 GB, free: 1.906 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.0001158/0.3035, allocations: 99.25 kB / 1.026 GB, free: 1.797 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000982/0.3045, allocations: 212.2 kB / 1.026 GB, free: 1.59 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3045, allocations: 0 / 1.026 GB, free: 1.59 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.3048, allocations: 63.98 kB / 1.027 GB, free: 1.527 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.3051, allocations: 12 kB / 1.027 GB, free: 1.516 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008456/0.306, allocations: 239.1 kB / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.3062, allocations: 0.6924 MB / 1.027 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001325/0.3064, allocations: 28.12 kB / 1.027 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/0.3064, allocations: 23.41 kB / 1.027 GB, free: 500 kB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.3064, allocations: 0 / 1.027 GB, free: 500 kB / 0.795 GB Notification: Performance of Templates: time 0.003755/0.3102, allocations: 1.689 MB / 1.029 GB, free: 14.8 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 cvode -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