Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.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.Undirected.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|basicControlValve.m_flow|flowResistance.m_flow|flowResistance1.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") translateModel(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|basicControlValve.m_flow|flowResistance.m_flow|flowResistance1.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008505/0.0008506, allocations: 172.8 kB / 16.11 MB, free: 5.684 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.121/1.121, allocations: 205 MB / 221.9 MB, free: 9.047 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.000715/0.000715, allocations: 86.03 kB / 269.9 MB, free: 8.66 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.5866/0.5866, allocations: 90.52 MB / 408.3 MB, free: 3.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002672/0.0002673, allocations: 8 kB / 484.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2219, allocations: 65.81 MB / 0.5378 GB, free: 35.01 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.3512/0.5731, allocations: 169 MB / 0.7028 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01063/0.5838, allocations: 11.17 MB / 0.7137 GB, free: 1.027 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:24:3-25:88:writable] Warning: Parameter Cvs_US has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:26:3-27:88:writable] Warning: Parameter Cvs_UK has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:28:3-29:92:writable] Warning: Parameter m_flow_ref_set has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:17:3-18:61:writable] Warning: Parameter d_valve has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:23:3-24:88:writable] Warning: Parameter Cvs_US has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:25:3-26:88:writable] Warning: Parameter Cvs_UK has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:27:3-28:92:writable] Warning: Parameter m_flow_ref_set has annotation(Evaluate=true) and no binding. Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.585, allocations: 23.41 kB / 0.7137 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.5864, allocations: 0.7686 MB / 0.7144 GB, free: 1 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002922/0.5894, allocations: 1.569 MB / 0.716 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.5917, allocations: 1.145 MB / 0.7171 GB, free: 0.875 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002334/0.594, allocations: 3.207 MB / 0.7202 GB, free: 0.8672 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004105/0.5945, allocations: 303.6 kB / 0.7205 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.5962, allocations: 1.189 MB / 0.7217 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009888/0.5972, allocations: 1.128 MB / 0.7228 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.5973, allocations: 52.41 kB / 0.7228 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/0.6007, allocations: 2.164 MB / 0.7249 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.6008, allocations: 263.6 kB / 0.7252 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004809/0.6013, allocations: 0.6804 MB / 0.7259 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.6038, allocations: 2.415 MB / 0.7282 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.6039, allocations: 0 / 0.7282 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6039, allocations: 0 / 0.7282 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.6039, allocations: 0 / 0.7282 GB, free: 0.5273 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002711/0.6066, allocations: 1.661 MB / 0.7298 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.6066, allocations: 8.531 kB / 0.7299 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.6069, allocations: 160.7 kB / 0.73 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008485/0.6077, allocations: 0.7752 MB / 0.7308 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.851e-05/0.6078, allocations: 83.77 kB / 0.7308 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.6079, allocations: 117.6 kB / 0.731 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.6094, allocations: 1.177 MB / 0.7321 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.6094, allocations: 0 / 0.7321 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.559e-05/0.6095, allocations: 44.41 kB / 0.7321 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.6096, allocations: 30.23 kB / 0.7322 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.611, allocations: 1.119 MB / 0.7333 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005414/0.6164, allocations: 5.588 MB / 0.7387 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.618, allocations: 1.209 MB / 0.7399 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006617/0.6187, allocations: 0.5552 MB / 0.7404 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003206/0.6219, allocations: 3.376 MB / 0.7437 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.6219, allocations: 44.34 kB / 0.7438 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=130): time 3.006e-06/0.6219, allocations: 0 / 0.7438 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130): time 0.003409/0.6253, allocations: 2.182 MB / 0.7459 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.6254, allocations: 114.6 kB / 0.746 GB, free: 7.945 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:27:3-28:92:writable] Warning: Parameter specificValveType.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/Undirected/FlowControl/SpecificValveType.mo:25:3-26:88:writable] Warning: Parameter specificValveType.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/Undirected/FlowControl/SpecificValveType.mo:23:3-24:88:writable] Warning: Parameter specificValveType.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/Undirected/FlowControl/SpecificValveType.mo:17:3-18:61:writable] Warning: Parameter specificValveType.d_valve 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/Undirected/FlowControl/BasicControlValve.mo:28:3-29:92:writable] Warning: Parameter basicControlValve.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/Undirected/FlowControl/BasicControlValve.mo:26:3-27:88:writable] Warning: Parameter basicControlValve.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/Undirected/FlowControl/BasicControlValve.mo:24:3-25:88:writable] Warning: Parameter basicControlValve.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.001003/0.6264, allocations: 0.916 MB / 0.7469 GB, free: 7.648 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.882e-05/0.6265, allocations: 51.86 kB / 0.747 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.6268, allocations: 492.3 kB / 0.7474 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.627, allocations: 445.8 kB / 0.7479 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.6271, allocations: 20.62 kB / 0.7479 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6272, allocations: 351.2 kB / 0.7482 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005867/0.6278, allocations: 420 kB / 0.7486 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007043/0.6285, allocations: 0.541 MB / 0.7491 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.6299, allocations: 1.018 MB / 0.7501 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.6299, allocations: 0 / 0.7501 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002075/0.632, allocations: 1.382 MB / 0.7515 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.632, allocations: 9.531 kB / 0.7515 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.632, allocations: 0 / 0.7515 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/0.6325, allocations: 164.7 kB / 0.7517 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.6332, allocations: 216.2 kB / 0.7519 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004058/0.6372, allocations: 6.739 MB / 0.7584 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/0.6379, allocations: 114 kB / 0.7586 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.6381, allocations: 52.25 kB / 0.7586 GB, free: 15.34 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004054/0.6385, allocations: 296.8 kB / 0.7589 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.6387, allocations: 127.3 kB / 0.759 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/0.6417, allocations: 1.62 MB / 0.7606 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.6417, allocations: 7.984 kB / 0.7606 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.6417, allocations: 1.906 kB / 0.7606 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004184/0.6421, allocations: 371.8 kB / 0.761 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.6423, allocations: 20.88 kB / 0.761 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005561/0.6428, allocations: 49.06 kB / 0.761 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.643, allocations: 100.7 kB / 0.7611 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002605/0.6456, allocations: 1.612 MB / 0.7627 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002671/0.6483, allocations: 2.153 MB / 0.7648 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000707/0.649, allocations: 0.5467 MB / 0.7653 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006567/0.6497, allocations: 0.6236 MB / 0.7659 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of Backend: time 6.11e-07/0.6497, allocations: 0 / 0.7659 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004004/0.6537, allocations: 2.418 MB / 0.7683 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of SimCode: time 0.003673/0.6574, allocations: 3.413 MB / 0.7716 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of Templates: time 0.03734/0.6947, allocations: 27.53 MB / 0.7985 GB, free: 9.641 MB / 0.5573 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches