Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.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.3.1-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-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.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 172.4 kB / 16.11 MB, free: 5.695 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.46/1.46, allocations: 205.4 MB / 222.3 MB, free: 9.027 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.0007766/0.0007765, allocations: 92.92 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.7374/0.7374, allocations: 89.61 MB / 408.5 MB, free: 4.465 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.000356, allocations: 12 kB / 485.2 MB, free: 7.609 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3189, allocations: 66.01 MB / 0.5383 GB, free: 34.49 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6962/1.015, allocations: 357.7 MB / 0.8876 GB, free: 3.371 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/1.016, allocations: 92.77 kB / 0.8877 GB, free: 3.324 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.39/2.406, allocations: 388.6 MB / 1.267 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.567e-06/2.406, allocations: 0 / 1.267 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002884/2.406, allocations: 58.84 kB / 1.267 GB, free: 103.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: 485 * Number of variables: 485 Notification: Performance of Generate backend data structure: time 0.009353/2.415, allocations: 2.584 MB / 1.27 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/2.415, allocations: 11.03 kB / 1.27 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/2.417, allocations: 298.6 kB / 1.27 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003615/2.421, allocations: 1.11 MB / 1.271 GB, free: 100.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/2.421, allocations: 145.6 kB / 1.271 GB, free: 100.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000822/2.422, allocations: 190.8 kB / 1.271 GB, free: 100.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004455/2.426, allocations: 1.947 MB / 1.273 GB, free: 99.04 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.867e-05/2.426, allocations: 192 / 1.273 GB, free: 99.04 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/2.427, allocations: 81.38 kB / 1.273 GB, free: 98.97 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.124e-05/2.427, allocations: 54.53 kB / 1.273 GB, free: 98.97 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/2.43, allocations: 2.3 MB / 1.276 GB, free: 97.83 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00932/2.439, allocations: 8.871 MB / 1.284 GB, free: 89.76 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/2.442, allocations: 2.276 MB / 1.287 GB, free: 88.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/2.443, allocations: 1.08 MB / 1.288 GB, free: 88.03 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006304/2.45, allocations: 5.837 MB / 1.293 GB, free: 82.53 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001454/2.451, allocations: 1.052 MB / 1.294 GB, free: 81.91 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=216): time 4.569e-06/2.451, allocations: 0 / 1.294 GB, free: 81.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=216): time 0.005107/2.456, allocations: 3.242 MB / 1.298 GB, free: 78.64 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/2.456, allocations: 73.41 kB / 1.298 GB, free: 78.56 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:26:3-27:92:writable] Warning: Parameter valveEqualPercentage.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.3.1-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:24:3-25:88:writable] Warning: Parameter valveEqualPercentage.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.3.1-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:22:3-23:88:writable] Warning: Parameter valveEqualPercentage.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.3.1-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:24:3-25:88:writable] Warning: Parameter valveParabolic.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.3.1-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:22:3-23:88:writable] Warning: Parameter valveParabolic.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.3.1-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:26:3-27:92:writable] Warning: Parameter valveLinear.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.3.1-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:24:3-25:88:writable] Warning: Parameter valveLinear.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.3.1-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:22:3-23:88:writable] Warning: Parameter valveLinear.Cvs_US 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.001114/2.458, allocations: 0.9458 MB / 1.299 GB, free: 77.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/2.458, allocations: 64.52 kB / 1.299 GB, free: 77.54 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004796/2.458, allocations: 0.7435 MB / 1.299 GB, free: 76.79 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004368/2.459, allocations: 0.7156 MB / 1.3 GB, free: 76.07 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.603e-05/2.459, allocations: 36 kB / 1.3 GB, free: 76.04 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001125/2.459, allocations: 381.8 kB / 1.3 GB, free: 75.66 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/2.46, allocations: 0.7485 MB / 1.301 GB, free: 74.91 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/2.461, allocations: 0.9453 MB / 1.302 GB, free: 73.93 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/2.463, allocations: 1.825 MB / 1.304 GB, free: 72.07 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/2.464, allocations: 4 kB / 1.304 GB, free: 72.06 MB / 0.5886 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.003626/2.467, allocations: 2.3 MB / 1.306 GB, free: 69.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/2.467, allocations: 37.7 kB / 1.306 GB, free: 69.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/2.467, allocations: 6.656 kB / 1.306 GB, free: 69.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005072/2.468, allocations: 161 kB / 1.306 GB, free: 69.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/2.469, allocations: 395.5 kB / 1.307 GB, free: 69.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002824/2.472, allocations: 4.514 MB / 1.311 GB, free: 64.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/2.473, allocations: 197.1 kB / 1.311 GB, free: 64.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/2.473, allocations: 87.95 kB / 1.311 GB, free: 63.99 MB / 0.5886 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007896/2.474, allocations: 352.9 kB / 1.312 GB, free: 63.64 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/2.474, allocations: 173.9 kB / 1.312 GB, free: 63.46 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004576/2.479, allocations: 2.922 MB / 1.315 GB, free: 60.56 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/2.479, allocations: 31.98 kB / 1.315 GB, free: 60.53 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/2.479, allocations: 4 kB / 1.315 GB, free: 60.53 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/2.479, allocations: 11.95 kB / 1.315 GB, free: 60.52 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006332/2.485, allocations: 4.86 MB / 1.32 GB, free: 55.65 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/2.485, allocations: 0 / 1.32 GB, free: 55.65 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/2.486, allocations: 417.8 kB / 1.32 GB, free: 55.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/2.487, allocations: 172.9 kB / 1.32 GB, free: 55.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/2.487, allocations: 71.95 kB / 1.32 GB, free: 55 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002562/2.49, allocations: 4.492 MB / 1.325 GB, free: 50.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/2.49, allocations: 3.938 kB / 1.325 GB, free: 50.13 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005172/2.495, allocations: 3.616 MB / 1.328 GB, free: 46.48 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009675/2.496, allocations: 0.4981 MB / 1.329 GB, free: 45.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/2.496, allocations: 51.38 kB / 1.329 GB, free: 45.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008834/2.497, allocations: 117.9 kB / 1.329 GB, free: 45.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003052/2.497, allocations: 181.7 kB / 1.329 GB, free: 45.62 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/2.497, allocations: 83.95 kB / 1.329 GB, free: 45.54 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007151/2.498, allocations: 0.6339 MB / 1.33 GB, free: 44.91 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/2.498, allocations: 0 / 1.33 GB, free: 44.91 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002209/2.5, allocations: 0.8928 MB / 1.33 GB, free: 44.01 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valveLinear.rear.m_flow,valveParabolic.rear.m_flow,valveEqualPercentage.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (235): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(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.0016/2.502, allocations: 1.292 MB / 1.332 GB, free: 42.95 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003443/2.505, allocations: 2.485 MB / 1.334 GB, free: 40.43 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/2.505, allocations: 0 / 1.334 GB, free: 40.43 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001706/2.507, allocations: 1.559 MB / 1.336 GB, free: 38.84 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/2.51, allocations: 0.5717 MB / 1.336 GB, free: 38.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005272/2.515, allocations: 4.346 MB / 1.34 GB, free: 33.98 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/2.516, allocations: 1.385 MB / 1.342 GB, free: 32.56 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001536/2.517, allocations: 433.8 kB / 1.342 GB, free: 32.15 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/2.518, allocations: 207.3 kB / 1.342 GB, free: 31.95 MB / 0.5886 GB Notification: Performance of SimCode: time 1.022e-06/2.518, allocations: 0 / 1.342 GB, free: 31.95 MB / 0.5886 GB Notification: Performance of Templates: time 0.3994/2.917, allocations: 40.94 MB / 1.382 GB, free: 97.94 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches