Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001469/0.001469, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.593/1.593, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.001014/0.001014, allocations: 88.44 kB / 266.6 MB, free: 9.277 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.7302/0.7302, allocations: 90.34 MB / 405 MB, free: 8.633 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.751e-05/2.762e-05, allocations: 11.92 kB / 479.2 MB, free: 14.32 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.318, allocations: 66.26 MB / 0.5326 GB, free: 28.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6848/1.003, allocations: 355.6 MB / 0.8799 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/1.003, allocations: 82.95 kB / 0.88 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.7518/1.755, allocations: 234 MB / 1.109 GB, free: 57.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.383e-06/1.755, allocations: 0 / 1.109 GB, free: 57.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.383e-05/1.755, allocations: 39.92 kB / 1.109 GB, free: 57.1 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.00249/1.758, allocations: 1.528 MB / 1.11 GB, free: 55.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/1.758, allocations: 12.03 kB / 1.11 GB, free: 55.51 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003639/1.758, allocations: 166.1 kB / 1.11 GB, free: 55.34 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/1.759, allocations: 0.7336 MB / 1.111 GB, free: 54.56 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/1.759, allocations: 65.95 kB / 1.111 GB, free: 54.49 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/1.759, allocations: 87.84 kB / 1.111 GB, free: 54.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/1.76, allocations: 0.7533 MB / 1.112 GB, free: 53.64 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/1.76, allocations: 4 kB / 1.112 GB, free: 53.64 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.467e-05/1.761, allocations: 35.98 kB / 1.112 GB, free: 53.61 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/1.761, allocations: 20 kB / 1.112 GB, free: 53.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009876/1.762, allocations: 0.7771 MB / 1.113 GB, free: 52.81 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003571/1.765, allocations: 3.58 MB / 1.116 GB, free: 48.88 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/1.766, allocations: 0.8183 MB / 1.117 GB, free: 48.06 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/1.767, allocations: 372.7 kB / 1.117 GB, free: 47.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002226/1.769, allocations: 2.545 MB / 1.12 GB, free: 44.83 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/1.769, allocations: 43.28 kB / 1.12 GB, free: 44.78 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=81): time 2.244e-06/1.769, allocations: 3.938 kB / 1.12 GB, free: 44.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=81): time 0.001304/1.77, allocations: 0.8245 MB / 1.121 GB, free: 43.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/1.77, allocations: 60.19 kB / 1.121 GB, free: 43.86 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:22:3-23:88:writable] Warning: Parameter slideValveInverse.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:20:3-21:88:writable] Warning: Parameter slideValveInverse.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:24:3-25:92:writable] Warning: Parameter slideValve.m_flow_ref_set has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:22:3-23:88:writable] Warning: Parameter slideValve.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:20:3-21:88:writable] Warning: Parameter slideValve.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:14:3-15:61:writable] Warning: Parameter slideValve.d_valve has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/1.771, allocations: 0.995 MB / 1.122 GB, free: 42.85 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/1.771, allocations: 41.7 kB / 1.122 GB, free: 42.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/1.772, allocations: 0.4926 MB / 1.122 GB, free: 42.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/1.772, allocations: 279.9 kB / 1.122 GB, free: 42.03 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/1.772, allocations: 20 kB / 1.122 GB, free: 42.01 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.563e-05/1.772, allocations: 333.9 kB / 1.123 GB, free: 41.68 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/1.772, allocations: 257.5 kB / 1.123 GB, free: 41.42 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/1.773, allocations: 329.7 kB / 1.123 GB, free: 41.08 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/1.773, allocations: 294 kB / 1.124 GB, free: 40.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.773, allocations: 0 / 1.124 GB, free: 40.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00125/1.774, allocations: 0.8832 MB / 1.124 GB, free: 39.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.774, allocations: 8 kB / 1.124 GB, free: 39.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/1.774, allocations: 0 / 1.124 GB, free: 39.89 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003328/1.775, allocations: 101.6 kB / 1.125 GB, free: 39.79 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/1.775, allocations: 143.8 kB / 1.125 GB, free: 39.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/1.777, allocations: 2.983 MB / 1.128 GB, free: 36.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/1.778, allocations: 79.33 kB / 1.128 GB, free: 36.31 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.583e-05/1.778, allocations: 31.97 kB / 1.128 GB, free: 36.28 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001219/1.778, allocations: 140.6 kB / 1.128 GB, free: 36.14 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/1.778, allocations: 118.5 kB / 1.128 GB, free: 36.02 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/1.78, allocations: 1.045 MB / 1.129 GB, free: 34.96 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-06/1.78, allocations: 11.95 kB / 1.129 GB, free: 34.95 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.78, allocations: 4 kB / 1.129 GB, free: 34.95 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/1.78, allocations: 3.984 kB / 1.129 GB, free: 34.94 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/1.782, allocations: 2.093 MB / 1.131 GB, free: 32.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/1.782, allocations: 4 kB / 1.131 GB, free: 32.78 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004589/1.783, allocations: 131.8 kB / 1.131 GB, free: 32.65 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002858/1.783, allocations: 109.9 kB / 1.131 GB, free: 32.54 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.124e-05/1.783, allocations: 27.97 kB / 1.131 GB, free: 32.51 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/1.785, allocations: 2.972 MB / 1.134 GB, free: 29.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.785, allocations: 7.969 kB / 1.134 GB, free: 29.26 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/1.787, allocations: 1.391 MB / 1.136 GB, free: 27.83 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004689/1.787, allocations: 355.2 kB / 1.136 GB, free: 27.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/1.787, allocations: 20 kB / 1.136 GB, free: 27.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004653/1.788, allocations: 43.95 kB / 1.136 GB, free: 27.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/1.788, allocations: 68.62 kB / 1.136 GB, free: 27.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-05/1.788, allocations: 23.98 kB / 1.136 GB, free: 27.31 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00082/1.789, allocations: 0.7828 MB / 1.137 GB, free: 26.52 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.81e-07/1.789, allocations: 0 / 1.137 GB, free: 26.52 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001226/1.79, allocations: 463.1 kB / 1.137 GB, free: 26.07 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (slideValve.inlet.m_flow,slideValveInverse.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00141/1.792, allocations: 1.005 MB / 1.138 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001257/1.793, allocations: 0.9888 MB / 1.139 GB, free: 24.09 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.793, allocations: 0 / 1.139 GB, free: 24.09 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006926/1.794, allocations: 0.7004 MB / 1.14 GB, free: 23.35 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/1.795, allocations: 289.1 kB / 1.14 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/1.797, allocations: 1.683 MB / 1.142 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005377/1.798, allocations: 1.148 MB / 1.143 GB, free: 20.17 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0006772/1.799, allocations: 194.8 kB / 1.143 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/1.799, allocations: 91.39 kB / 1.143 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of SimCode: time 1.283e-06/1.799, allocations: 0 / 1.143 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of Templates: time 0.3807/2.18, allocations: 22.14 MB / 1.165 GB, free: 125.2 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches