Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 177.2 kB / 16.11 MB, free: 5.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205 MB / 221.9 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007482/0.0007482, allocations: 94.02 kB / 269.9 MB, free: 8.672 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6191/0.6191, allocations: 90.51 MB / 408.3 MB, free: 3.938 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002738/0.0002738, allocations: 8.453 kB / 484.9 MB, free: 7.215 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2397, allocations: 65.82 MB / 0.5378 GB, free: 34.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.02531/0.2651, allocations: 39.1 MB / 0.5759 GB, free: 15.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00882/0.2739, allocations: 8.598 MB / 0.5843 GB, free: 7.141 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004658/0.2744, allocations: 11.94 kB / 0.5844 GB, free: 7.129 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.2755, allocations: 457.6 kB / 0.5848 GB, free: 6.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002233/0.2777, allocations: 1.138 MB / 0.5859 GB, free: 5.535 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.2794, allocations: 0.7823 MB / 0.5867 GB, free: 4.754 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001709/0.2811, allocations: 2.266 MB / 0.5889 GB, free: 2.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.2814, allocations: 226.7 kB / 0.5891 GB, free: 2.258 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.2825, allocations: 0.7546 MB / 0.5898 GB, free: 1.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005771/0.2831, allocations: 0.63 MB / 0.5904 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.2832, allocations: 44 kB / 0.5905 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.2848, allocations: 0.8229 MB / 0.5913 GB, free: 0 / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.285, allocations: 195.2 kB / 0.5915 GB, free: 15.8 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003952/0.2854, allocations: 0.5089 MB / 0.592 GB, free: 15.29 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.287, allocations: 1.608 MB / 0.5935 GB, free: 13.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.287, allocations: 0 / 0.5935 GB, free: 13.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.287, allocations: 4 kB / 0.5935 GB, free: 13.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.287, allocations: 0 / 0.5935 GB, free: 13.68 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002212/0.2892, allocations: 1.293 MB / 0.5948 GB, free: 12.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.2893, allocations: 15.91 kB / 0.5948 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003219/0.2896, allocations: 127.5 kB / 0.5949 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007178/0.2903, allocations: 0.5753 MB / 0.5955 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.862e-05/0.2904, allocations: 100.2 kB / 0.5956 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.2906, allocations: 96.02 kB / 0.5957 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.2921, allocations: 0.9987 MB / 0.5967 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.2922, allocations: 0 / 0.5967 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.08e-05/0.2922, allocations: 36 kB / 0.5967 GB, free: 10.31 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.2923, allocations: 28 kB / 0.5967 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.2939, allocations: 0.9056 MB / 0.5976 GB, free: 9.375 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005034/0.2989, allocations: 4.595 MB / 0.6021 GB, free: 4.359 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.301, allocations: 1.077 MB / 0.6032 GB, free: 3.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007716/0.3018, allocations: 484.5 kB / 0.6036 GB, free: 2.773 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003138/0.3049, allocations: 3.005 MB / 0.6066 GB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3049, allocations: 51.31 kB / 0.6066 GB, free: 15.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=101): time 2.335e-06/0.305, allocations: 0 / 0.6066 GB, free: 15.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=114): time 0.009076/0.314, allocations: 4.322 MB / 0.6108 GB, free: 10.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.3141, allocations: 90.11 kB / 0.6109 GB, free: 10.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005402/0.3146, allocations: 0.5549 MB / 0.6114 GB, free: 10.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.582e-05/0.3147, allocations: 53.7 kB / 0.6115 GB, free: 10.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.315, allocations: 392.5 kB / 0.6119 GB, free: 9.688 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/0.3152, allocations: 398.2 kB / 0.6123 GB, free: 9.293 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.3153, allocations: 20 kB / 0.6123 GB, free: 9.273 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3154, allocations: 402.7 kB / 0.6127 GB, free: 8.871 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008122/0.3162, allocations: 406.4 kB / 0.613 GB, free: 8.473 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009106/0.3172, allocations: 0.5678 MB / 0.6136 GB, free: 7.852 MB / 442.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/0.3191, allocations: 1.104 MB / 0.6147 GB, free: 6.676 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3191, allocations: 7.875 kB / 0.6147 GB, free: 6.668 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00309/0.3222, allocations: 1.486 MB / 0.6161 GB, free: 5.145 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3222, allocations: 8 kB / 0.6161 GB, free: 5.137 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.3222, allocations: 8 kB / 0.6162 GB, free: 5.129 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.3234, allocations: 358.9 kB / 0.6165 GB, free: 4.754 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007568/0.3241, allocations: 203.6 kB / 0.6167 GB, free: 4.555 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008274/0.3324, allocations: 11.63 MB / 0.628 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006553/0.3331, allocations: 71.8 kB / 0.6281 GB, free: 7.793 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-05/0.3332, allocations: 48.05 kB / 0.6282 GB, free: 7.746 MB / 458.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (112): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,6,100.0%), (1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003505/0.3335, allocations: 235.5 kB / 0.6284 GB, free: 7.508 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.3337, allocations: 90.88 kB / 0.6285 GB, free: 7.418 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003567/0.3373, allocations: 1.607 MB / 0.63 GB, free: 5.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.3373, allocations: 3.984 kB / 0.63 GB, free: 5.766 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.3373, allocations: 4 kB / 0.63 GB, free: 5.762 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.3375, allocations: 159.9 kB / 0.6302 GB, free: 5.586 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.3376, allocations: 20 kB / 0.6302 GB, free: 5.566 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007165/0.3383, allocations: 87.84 kB / 0.6303 GB, free: 5.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.3385, allocations: 105 kB / 0.6304 GB, free: 5.379 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004292/0.3428, allocations: 1.732 MB / 0.6321 GB, free: 3.613 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003225/0.3461, allocations: 1.97 MB / 0.634 GB, free: 1.629 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009099/0.347, allocations: 0.5163 MB / 0.6345 GB, free: 1.109 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003796/0.3474, allocations: 387.1 kB / 0.6349 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of Backend: time 5.42e-07/0.3474, allocations: 0 / 0.6349 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003564/0.351, allocations: 2.222 MB / 0.6371 GB, free: 14.4 MB / 474.7 MB Notification: Performance of SimCode: time 0.003467/0.3544, allocations: 3.193 MB / 0.6402 GB, free: 11.16 MB / 474.7 MB Notification: Performance of Templates: time 0.02961/0.3841, allocations: 21.44 MB / 0.6611 GB, free: 5.84 MB / 490.7 MB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.Reservoir_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches