Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.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.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") translateModel(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.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.001028/0.001028, allocations: 171.6 kB / 16.11 MB, free: 5.688 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.198/1.198, allocations: 205 MB / 221.9 MB, free: 9.055 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.0007275/0.0007275, allocations: 84.56 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.6073/0.6073, allocations: 90.51 MB / 408.3 MB, free: 3.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002813, allocations: 12 kB / 484.9 MB, free: 7.219 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2299, allocations: 65.8 MB / 0.5377 GB, free: 34.93 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.4134/0.6434, allocations: 158.1 MB / 0.6921 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01229/0.6557, allocations: 12.4 MB / 0.7043 GB, free: 1.219 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/BasicControlValve.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/FlowControl/BasicControlValve.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/FlowControl/BasicControlValve.mo:27:3-28: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/FlowControl/SpecificValveType.mo:14:3-15: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/FlowControl/SpecificValveType.mo:20:3-21: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/FlowControl/SpecificValveType.mo:22:3-23: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/FlowControl/SpecificValveType.mo:24:3-25:92:writable] Warning: Parameter m_flow_ref_set has annotation(Evaluate=true) and no binding. Notification: Performance of NFInst.updateImplicitVariability: time 0.0008199/0.6565, allocations: 12.28 kB / 0.7043 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.658, allocations: 0.5984 MB / 0.7049 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.6607, allocations: 1.026 MB / 0.7059 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.6629, allocations: 0.768 MB / 0.7066 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00224/0.6652, allocations: 2.126 MB / 0.7087 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004475/0.6656, allocations: 315.4 kB / 0.709 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.6668, allocations: 0.6637 MB / 0.7096 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.6682, allocations: 1.003 MB / 0.7106 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000252/0.6684, allocations: 63.38 kB / 0.7107 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.6713, allocations: 1.485 MB / 0.7121 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.6715, allocations: 304.4 kB / 0.7124 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007828/0.6723, allocations: 0.595 MB / 0.713 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.6745, allocations: 1.969 MB / 0.7149 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.6745, allocations: 0 / 0.7149 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6745, allocations: 0 / 0.7149 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.6745, allocations: 0 / 0.7149 GB, free: 0.832 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.00316/0.6777, allocations: 1.685 MB / 0.7166 GB, free: 16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.6777, allocations: 8.469 kB / 0.7166 GB, free: 16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.678, allocations: 128.2 kB / 0.7167 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000883/0.6789, allocations: 0.7516 MB / 0.7174 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-05/0.679, allocations: 95.36 kB / 0.7175 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.6791, allocations: 102.3 kB / 0.7176 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.6809, allocations: 1.389 MB / 0.719 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.681, allocations: 2.156 kB / 0.719 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.6811, allocations: 42.33 kB / 0.719 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.774e-05/0.6811, allocations: 49.39 kB / 0.7191 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/0.6838, allocations: 2.075 MB / 0.7211 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006945/0.6908, allocations: 5.953 MB / 0.7269 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/0.693, allocations: 1.679 MB / 0.7285 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.6941, allocations: 0.9573 MB / 0.7295 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004896/0.699, allocations: 4.861 MB / 0.7342 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.6991, allocations: 50.22 kB / 0.7343 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=121): time 2.826e-06/0.6991, allocations: 4 kB / 0.7343 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=123): time 0.008605/0.7077, allocations: 5.532 MB / 0.7397 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.7077, allocations: 69.84 kB / 0.7397 GB, free: 8.098 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/FlowControl/SpecificValveType.mo:24:3-25: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/FlowControl/SpecificValveType.mo:22:3-23: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/FlowControl/SpecificValveType.mo:20:3-21: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/FlowControl/SpecificValveType.mo:14:3-15: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/FlowControl/BasicControlValve.mo:27:3-28: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/FlowControl/BasicControlValve.mo:25:3-26: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/FlowControl/BasicControlValve.mo:23:3-24: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.0008761/0.7086, allocations: 0.6813 MB / 0.7404 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.572e-05/0.7087, allocations: 47.45 kB / 0.7404 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.709, allocations: 415.2 kB / 0.7408 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/0.7093, allocations: 431.4 kB / 0.7413 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.48e-05/0.7094, allocations: 24.67 kB / 0.7413 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.7095, allocations: 397.3 kB / 0.7417 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009496/0.7105, allocations: 0.7003 MB / 0.7423 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.7116, allocations: 0.8184 MB / 0.7431 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002225/0.7139, allocations: 1.614 MB / 0.7447 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.7139, allocations: 3.984 kB / 0.7447 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.003301/0.7172, allocations: 2.098 MB / 0.7468 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.7172, allocations: 8.125 kB / 0.7468 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.7172, allocations: 3.156 kB / 0.7468 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008712/0.7181, allocations: 353.9 kB / 0.7471 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.7192, allocations: 237.3 kB / 0.7473 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004727/0.7239, allocations: 3.589 MB / 0.7509 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008541/0.7248, allocations: 63.09 kB / 0.7509 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.7249, allocations: 66 kB / 0.751 GB, free: 2.777 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005117/0.7254, allocations: 320.1 kB / 0.7513 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.7256, allocations: 102.4 kB / 0.7514 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003926/0.7296, allocations: 2.315 MB / 0.7536 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.7296, allocations: 3.984 kB / 0.7536 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.7296, allocations: 2.688 kB / 0.7536 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005445/0.7302, allocations: 362.2 kB / 0.754 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.7303, allocations: 25 kB / 0.754 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006901/0.731, allocations: 63.5 kB / 0.7541 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.7312, allocations: 122.8 kB / 0.7542 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004341/0.7356, allocations: 2.121 MB / 0.7563 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004205/0.7398, allocations: 2.865 MB / 0.7591 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00115/0.741, allocations: 0.8027 MB / 0.7598 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005753/0.7416, allocations: 478 kB / 0.7603 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of Backend: time 1.182e-06/0.7416, allocations: 0 / 0.7603 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004426/0.746, allocations: 2.285 MB / 0.7625 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of SimCode: time 0.004077/0.7501, allocations: 3.484 MB / 0.7659 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of Templates: time 0.03566/0.7858, allocations: 26.65 MB / 0.792 GB, free: 10.54 MB / 0.5573 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches