Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.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.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001695/0.001695, allocations: 179 kB / 7.453 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9086/0.9086, allocations: 205.2 MB / 213.1 MB, free: 13.93 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.0007452/0.0007452, allocations: 95.02 kB / 261.1 MB, free: 13.63 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.4791/0.4791, allocations: 90.35 MB / 399.4 MB, free: 12.27 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 7.274e-06/7.294e-06, allocations: 4 kB / 471.7 MB, free: 3.809 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2251, allocations: 66.26 MB / 0.5253 GB, free: 28.9 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6551/0.8802, allocations: 436.9 MB / 0.952 GB, free: 163.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.8805, allocations: 75.45 kB / 0.9521 GB, free: 163.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.5244/1.405, allocations: 204.4 MB / 1.152 GB, free: 132.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.321e-05/1.405, allocations: 26.11 kB / 1.152 GB, free: 132.5 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001608/1.407, allocations: 1.154 MB / 1.153 GB, free: 132.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/1.407, allocations: 10.7 kB / 1.153 GB, free: 132.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/1.407, allocations: 98.28 kB / 1.153 GB, free: 132.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/1.407, allocations: 0.4964 MB / 1.153 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/1.407, allocations: 24.55 kB / 1.153 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.926e-05/1.407, allocations: 49.28 kB / 1.154 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006929/1.408, allocations: 0.5674 MB / 1.154 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006989/1.409, allocations: 0.5288 MB / 1.155 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/1.409, allocations: 0 / 1.155 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/1.409, allocations: 0 / 1.155 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/1.409, allocations: 22.91 kB / 1.155 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/1.411, allocations: 3.05 MB / 1.158 GB, free: 129.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008174/1.412, allocations: 0.5528 MB / 1.158 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/1.412, allocations: 264.2 kB / 1.158 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003923/1.413, allocations: 0.9807 MB / 1.159 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/1.413, allocations: 42.59 kB / 1.159 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=60): time 1.613e-06/1.413, allocations: 3.5 kB / 1.159 GB, free: 128.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=61): time 0.002865/1.415, allocations: 1.371 MB / 1.161 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/1.416, allocations: 65.72 kB / 1.161 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/1.416, allocations: 332.2 kB / 1.161 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/1.416, allocations: 25.7 kB / 1.161 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/1.416, allocations: 271.5 kB / 1.161 GB, free: 127.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.577e-05/1.416, allocations: 198.5 kB / 1.162 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/1.416, allocations: 0 / 1.162 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.222e-05/1.416, allocations: 370.7 kB / 1.162 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/1.416, allocations: 188.9 kB / 1.162 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/1.417, allocations: 188.7 kB / 1.162 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005742/1.417, allocations: 208.2 kB / 1.162 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/1.417, allocations: 0 / 1.162 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001157/1.418, allocations: 0.6372 MB / 1.163 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/1.418, allocations: 3.938 kB / 1.163 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/1.418, allocations: 0 / 1.163 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003247/1.419, allocations: 107.2 kB / 1.163 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/1.419, allocations: 104.1 kB / 1.163 GB, free: 127.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/1.42, allocations: 1.821 MB / 1.165 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/1.421, allocations: 32.98 kB / 1.165 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/1.421, allocations: 25 kB / 1.165 GB, free: 126.2 MB / 0.5886 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.249e-05/1.421, allocations: 113.1 kB / 1.165 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.246e-05/1.421, allocations: 62.3 kB / 1.165 GB, free: 126 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/1.423, allocations: 0.8048 MB / 1.166 GB, free: 126 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.423, allocations: 12.03 kB / 1.166 GB, free: 126 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.423, allocations: 3.688 kB / 1.166 GB, free: 126 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.423, allocations: 3.141 kB / 1.166 GB, free: 126 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/1.425, allocations: 1.506 MB / 1.168 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.425, allocations: 0 / 1.168 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/1.425, allocations: 108.5 kB / 1.168 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002957/1.425, allocations: 115.4 kB / 1.168 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/1.425, allocations: 13.48 kB / 1.168 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/1.427, allocations: 1.837 MB / 1.17 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.427, allocations: 3.953 kB / 1.17 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001509/1.428, allocations: 1.085 MB / 1.171 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.277e-05/1.428, allocations: 131.3 kB / 1.171 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/1.429, allocations: 3.938 kB / 1.171 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/1.429, allocations: 33.86 kB / 1.171 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/1.429, allocations: 39.98 kB / 1.171 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/1.429, allocations: 26.23 kB / 1.171 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001796/1.429, allocations: 271.2 kB / 1.171 GB, free: 124 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007112/1.43, allocations: 350.6 kB / 1.171 GB, free: 123.9 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (splitterT2_1.splitterN.inlet.m_flow,splitterT2_1.splitterN.outlets[1].m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007975/1.431, allocations: 0.7834 MB / 1.172 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008147/1.432, allocations: 0.6667 MB / 1.173 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.432, allocations: 2.562 kB / 1.173 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005584/1.432, allocations: 480.4 kB / 1.173 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006977/1.433, allocations: 159.4 kB / 1.174 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/1.434, allocations: 0.9597 MB / 1.174 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/1.435, allocations: 1.02 MB / 1.175 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of SimCode: time 2.61e-07/1.435, allocations: 3.25 kB / 1.175 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.01794/1.453, allocations: 15.11 MB / 1.19 GB, free: 122.1 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches