Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, 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.489/1.489, allocations: 221.5 MB / 229.6 MB, free: 7.609 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.001003/0.001003, allocations: 99.83 kB / 280.5 MB, free: 5.348 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.00985/0.009851, allocations: 1.571 MB / 332.8 MB, free: 13.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7829/0.7829, allocations: 90.05 MB / 474 MB, free: 13.05 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.589e-05/1.593e-05, allocations: 1.953 kB / 0.5375 GB, free: 33.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1614, allocations: 69.37 MB / 0.6052 GB, free: 136 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.223/1.384, allocations: 359.1 MB / 0.9559 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/1.384, allocations: 92.16 kB / 0.956 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.9793/2.364, allocations: 271.6 MB / 1.221 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.292e-06/2.364, allocations: 0 / 1.221 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000151/2.364, allocations: 47.77 kB / 1.221 GB, free: 124.9 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.00596/2.37, allocations: 1.994 MB / 1.223 GB, free: 124 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/2.37, allocations: 7.688 kB / 1.223 GB, free: 124 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/2.371, allocations: 236.6 kB / 1.223 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/2.373, allocations: 0.9183 MB / 1.224 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-05/2.373, allocations: 47.17 kB / 1.224 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/2.374, allocations: 77.53 kB / 1.224 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002373/2.376, allocations: 1.441 MB / 1.226 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/2.378, allocations: 1.126 MB / 1.227 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/2.378, allocations: 6.938 kB / 1.227 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.033e-05/2.378, allocations: 3.938 kB / 1.227 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.622e-05/2.378, allocations: 38.16 kB / 1.227 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007585/2.386, allocations: 6.134 MB / 1.233 GB, free: 120 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/2.388, allocations: 1.395 MB / 1.234 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008142/2.388, allocations: 0.649 MB / 1.235 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006389/2.395, allocations: 4.372 MB / 1.239 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/2.396, allocations: 0.6318 MB / 1.24 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=148): time 6.983e-06/2.396, allocations: 0 / 1.24 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=148): time 0.005972/2.402, allocations: 1.629 MB / 1.241 GB, free: 117 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/2.402, allocations: 69.91 kB / 1.242 GB, free: 116.9 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/Undirected/FlowControl/SpecificValveType.mo:25:3-26: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/Undirected/FlowControl/SpecificValveType.mo:23:3-24: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/Undirected/FlowControl/SpecificValveType.mo:27:3-28: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/Undirected/FlowControl/SpecificValveType.mo:25:3-26: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/Undirected/FlowControl/SpecificValveType.mo:23:3-24: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/Undirected/FlowControl/SpecificValveType.mo:16:3-18: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.001923/2.404, allocations: 1.008 MB / 1.243 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/2.404, allocations: 29.58 kB / 1.243 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005306/2.405, allocations: 0.6309 MB / 1.243 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004549/2.405, allocations: 484.9 kB / 1.244 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/2.405, allocations: 3.938 kB / 1.244 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001111/2.405, allocations: 355.4 kB / 1.244 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006536/2.406, allocations: 460.2 kB / 1.244 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007374/2.407, allocations: 0.5999 MB / 1.245 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003104/2.41, allocations: 0.8189 MB / 1.246 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/2.41, allocations: 0 / 1.246 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005272/2.415, allocations: 1.731 MB / 1.247 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.454e-05/2.415, allocations: 46.27 kB / 1.248 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/2.415, allocations: 7.719 kB / 1.248 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004448/2.416, allocations: 102.7 kB / 1.248 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000988/2.417, allocations: 289.5 kB / 1.248 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/2.419, allocations: 2.902 MB / 1.251 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/2.42, allocations: 131.9 kB / 1.251 GB, free: 113 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/2.42, allocations: 59.17 kB / 1.251 GB, free: 113 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.0002457/2.421, allocations: 129 kB / 1.251 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/2.421, allocations: 153.6 kB / 1.251 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005147/2.426, allocations: 2.081 MB / 1.253 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/2.426, allocations: 19.94 kB / 1.253 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/2.426, allocations: 3.969 kB / 1.253 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/2.426, allocations: 11.27 kB / 1.253 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007291/2.434, allocations: 3.467 MB / 1.257 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/2.434, allocations: 6.781 kB / 1.257 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009779/2.435, allocations: 281.1 kB / 1.257 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003819/2.435, allocations: 104.7 kB / 1.257 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.512e-05/2.435, allocations: 43 kB / 1.257 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/2.437, allocations: 2.896 MB / 1.26 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/2.437, allocations: 3.781 kB / 1.26 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005157/2.442, allocations: 2.546 MB / 1.262 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/2.443, allocations: 0.4989 MB / 1.263 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/2.444, allocations: 3.844 kB / 1.263 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007693/2.444, allocations: 60.02 kB / 1.263 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/2.445, allocations: 124.6 kB / 1.263 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/2.445, allocations: 61.05 kB / 1.263 GB, free: 108 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001022/2.446, allocations: 0.7725 MB / 1.264 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.613e-06/2.446, allocations: 0 / 1.264 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002012/2.448, allocations: 0.594 MB / 1.264 GB, free: 107.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.rear.m_flow,slideValveInverse.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.001923/2.45, allocations: 1.064 MB / 1.265 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002544/2.452, allocations: 1.562 MB / 1.267 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/2.452, allocations: 0 / 1.267 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/2.453, allocations: 0.9693 MB / 1.268 GB, free: 106 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/2.456, allocations: 384.2 kB / 1.268 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/2.46, allocations: 2.29 MB / 1.271 GB, free: 105 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007555/2.461, allocations: 1.32 MB / 1.272 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001362/2.462, allocations: 333.7 kB / 1.272 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/2.463, allocations: 161.5 kB / 1.272 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of SimCode: time 1.183e-06/2.463, allocations: 2.375 kB / 1.272 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.04254/2.505, allocations: 25.93 MB / 1.298 GB, free: 95.41 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches