Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 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) 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) 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_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_ThermofluidStream.FlowControl.Tests.SpecificValveType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 221.5 MB / 229.6 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 92.8 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01011/0.01011, allocations: 1.563 MB / 332.8 MB, free: 13.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7813/0.7813, allocations: 90.04 MB / 474 MB, free: 13.03 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.891e-05, allocations: 2.812 kB / 0.5375 GB, free: 33.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1575, allocations: 69.37 MB / 0.6052 GB, free: 120 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.141/1.298, allocations: 355.4 MB / 0.9523 GB, free: 227.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/1.299, allocations: 84.52 kB / 0.9524 GB, free: 227.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.82/2.119, allocations: 238 MB / 1.185 GB, free: 121.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.443e-06/2.119, allocations: 3.281 kB / 1.185 GB, free: 121.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001127/2.119, allocations: 39.66 kB / 1.185 GB, free: 121.5 MB / 0.6042 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.003086/2.122, allocations: 1.537 MB / 1.186 GB, free: 120.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/2.122, allocations: 9.344 kB / 1.186 GB, free: 120.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000474/2.122, allocations: 169.7 kB / 1.187 GB, free: 120.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/2.124, allocations: 0.7273 MB / 1.187 GB, free: 120.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.737e-05/2.124, allocations: 29.09 kB / 1.187 GB, free: 120.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/2.124, allocations: 53.94 kB / 1.187 GB, free: 120.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001328/2.125, allocations: 0.7372 MB / 1.188 GB, free: 120.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/2.127, allocations: 0.6415 MB / 1.189 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/2.127, allocations: 2.438 kB / 1.189 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/2.127, allocations: 0.5 kB / 1.189 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-05/2.127, allocations: 20.06 kB / 1.189 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004686/2.131, allocations: 3.433 MB / 1.192 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/2.133, allocations: 0.7823 MB / 1.193 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/2.133, allocations: 345.2 kB / 1.193 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002848/2.136, allocations: 2.511 MB / 1.196 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/2.136, allocations: 39 kB / 1.196 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=81): time 2.775e-06/2.136, allocations: 3.75 kB / 1.196 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.001941/2.138, allocations: 0.7665 MB / 1.196 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/2.138, allocations: 60.66 kB / 1.196 GB, free: 116.6 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/SpecificValveType.mo:23:3-24: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 1.0.0-main/FlowControl/SpecificValveType.mo:21:3-22: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 1.0.0-main/FlowControl/SpecificValveType.mo:25:3-26: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 1.0.0-main/FlowControl/SpecificValveType.mo:23:3-24: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 1.0.0-main/FlowControl/SpecificValveType.mo:21:3-22: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 1.0.0-main/FlowControl/SpecificValveType.mo:14:3-16:44: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.00126/2.139, allocations: 0.9138 MB / 1.197 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/2.139, allocations: 29.42 kB / 1.197 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/2.14, allocations: 0.4977 MB / 1.198 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/2.14, allocations: 269.3 kB / 1.198 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/2.14, allocations: 0 / 1.198 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.458e-05/2.14, allocations: 334.9 kB / 1.198 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/2.14, allocations: 236.4 kB / 1.199 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/2.141, allocations: 317.5 kB / 1.199 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007374/2.141, allocations: 255.3 kB / 1.199 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/2.141, allocations: 0 / 1.199 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001533/2.143, allocations: 0.8025 MB / 1.2 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/2.143, allocations: 7.75 kB / 1.2 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/2.143, allocations: 0 / 1.2 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000364/2.143, allocations: 104.7 kB / 1.2 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/2.144, allocations: 153.5 kB / 1.2 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/2.146, allocations: 2.88 MB / 1.203 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006431/2.146, allocations: 63.33 kB / 1.203 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.646e-05/2.146, allocations: 33.66 kB / 1.203 GB, free: 113.2 MB / 0.6042 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.0001286/2.147, allocations: 111.4 kB / 1.203 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/2.147, allocations: 119.6 kB / 1.203 GB, free: 113 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/2.149, allocations: 0.9628 MB / 1.204 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/2.149, allocations: 11.27 kB / 1.204 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/2.149, allocations: 2.875 kB / 1.204 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/2.149, allocations: 3.891 kB / 1.204 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/2.151, allocations: 1.908 MB / 1.206 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/2.151, allocations: 3.531 kB / 1.206 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/2.152, allocations: 133.6 kB / 1.206 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002617/2.152, allocations: 109.1 kB / 1.206 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/2.152, allocations: 18.25 kB / 1.206 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/2.154, allocations: 2.87 MB / 1.209 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/2.154, allocations: 3.891 kB / 1.209 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/2.156, allocations: 1.302 MB / 1.211 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/2.156, allocations: 352.8 kB / 1.211 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/2.156, allocations: 7.812 kB / 1.211 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/2.157, allocations: 32.28 kB / 1.211 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/2.157, allocations: 66.25 kB / 1.211 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/2.157, allocations: 33.2 kB / 1.211 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00073/2.158, allocations: 0.7114 MB / 1.212 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/2.158, allocations: 0 / 1.212 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001191/2.159, allocations: 433.6 kB / 1.212 GB, free: 109.5 MB / 0.6042 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.001597/2.161, allocations: 0.9893 MB / 1.213 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001182/2.162, allocations: 0.9392 MB / 1.214 GB, free: 109 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/2.162, allocations: 3.688 kB / 1.214 GB, free: 109 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000644/2.162, allocations: 0.6641 MB / 1.215 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/2.164, allocations: 277.9 kB / 1.215 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/2.166, allocations: 1.623 MB / 1.216 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/2.167, allocations: 1.151 MB / 1.218 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006177/2.167, allocations: 194.4 kB / 1.218 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/2.168, allocations: 90.8 kB / 1.218 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/2.168, allocations: 0 / 1.218 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.02534/2.193, allocations: 17.95 MB / 1.235 GB, free: 106.8 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches