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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001573/0.001573, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001823/0.001823, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.472/2.472, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 62.8 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2766, allocations: 153 MB / 1.027 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002946/0.2796, allocations: 1.633 MB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006817/0.2803, allocations: 347.8 kB / 1.029 GB, free: 120 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.2804, allocations: 4 kB / 1.029 GB, free: 116 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.692e-05/0.2804, allocations: 3.938 kB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.244e-05/0.2805, allocations: 15.8 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.2808, allocations: 79.78 kB / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.281, allocations: 115.5 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.2811, allocations: 31.97 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.888e-05/0.2812, allocations: 51.78 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.2813, allocations: 47.77 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.2813, allocations: 8 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.805e-05/0.2814, allocations: 31.97 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.2814, allocations: 19.92 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.2815, allocations: 43.8 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.2817, allocations: 115.5 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2817, allocations: 0 / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2817, allocations: 0 / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2817, allocations: 0 / 1.029 GB, free: 15.56 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.000545/0.2822, allocations: 399.2 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2823, allocations: 12.02 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.2836, allocations: 172.5 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.2838, allocations: 172.2 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.2838, allocations: 8.312 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.2839, allocations: 8.375 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/0.2845, allocations: 178 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2845, allocations: 192 / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.2845, allocations: 3.938 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.2845, allocations: 4 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000863/0.2854, allocations: 179.8 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.2866, allocations: 484.2 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.2877, allocations: 178.4 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/0.2881, allocations: 68.84 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.2881, allocations: 4 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.2881, allocations: 30.56 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.2881, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.001129/0.2893, allocations: 233.4 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.2893, allocations: 51.41 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.2896, allocations: 192 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.2896, allocations: 25.7 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.2897, allocations: 103.9 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.2897, allocations: 15.89 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.2898, allocations: 29.69 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2899, allocations: 318.8 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004274/0.2903, allocations: 88.77 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.2909, allocations: 106.5 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007335/0.2916, allocations: 158.4 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2916, allocations: 0 / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009246/0.2926, allocations: 221.4 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2926, allocations: 6.344 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2926, allocations: 0 / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2926, allocations: 7.875 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.2929, allocations: 55.88 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.293, allocations: 3.938 kB / 1.033 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.2933, allocations: 43.8 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.2934, allocations: 7.984 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002008/0.2936, allocations: 120.1 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001854/0.2938, allocations: 81.95 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002415/0.294, allocations: 101.9 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/0.294, allocations: 0 / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004247/0.2944, allocations: 141.3 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.2945, allocations: 8 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.2945, allocations: 0 / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.158e-06/0.2945, allocations: 4 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.2946, allocations: 24.14 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2946, allocations: 11.98 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.2949, allocations: 15.98 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.2949, allocations: 15.92 kB / 1.033 GB, free: 11.25 MB / 0.8106 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.0001159/0.295, allocations: 180.2 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.2951, allocations: 7.906 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.233e-05/0.2951, allocations: 20.19 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2951, allocations: 192 / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2951, allocations: 0 / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2951, allocations: 3.984 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.2954, allocations: 209.5 kB / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2954, allocations: 0 / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.2956, allocations: 31.95 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2956, allocations: 4 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.2957, allocations: 11.92 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2957, allocations: 0 / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2957, allocations: 0 / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007463/0.2964, allocations: 259.2 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.11e-05/0.2965, allocations: 96.98 kB / 1.034 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.2966, allocations: 7.938 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.2968, allocations: 19.97 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.2969, allocations: 8 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.2969, allocations: 15.98 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001758/0.2971, allocations: 142.3 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2971, allocations: 0 / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003398/0.2974, allocations: 36 kB / 1.034 GB, free: 10.13 MB / 0.8106 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.000119/0.2976, allocations: 95.25 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001/0.2986, allocations: 216.1 kB / 1.034 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2986, allocations: 0 / 1.034 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.2989, allocations: 67.97 kB / 1.034 GB, free: 9.746 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.2992, allocations: 13.38 kB / 1.034 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008736/0.3001, allocations: 243.1 kB / 1.035 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.3004, allocations: 0.6923 MB / 1.035 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.3005, allocations: 27.98 kB / 1.035 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.3006, allocations: 23.34 kB / 1.035 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.3006, allocations: 0 / 1.035 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of Templates: time 0.003974/0.3046, allocations: 1.69 MB / 1.037 GB, free: 7.016 MB / 0.8106 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 -s gbode -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/jenkins1/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