Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.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.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008364/0.0008365, allocations: 170.5 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.129/1.129, allocations: 205 MB / 221.9 MB, free: 9.145 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.0006819/0.0006819, allocations: 98.02 kB / 269.9 MB, free: 8.664 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.5828/0.5828, allocations: 90.51 MB / 408.3 MB, free: 3.949 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002786/0.0002786, allocations: 8 kB / 484.9 MB, free: 7.219 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2273, allocations: 65.8 MB / 0.5378 GB, free: 34.92 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.3427/0.5701, allocations: 160.4 MB / 0.6944 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01075/0.5809, allocations: 12.74 MB / 0.7069 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000626/0.5815, allocations: 18.56 kB / 0.7069 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.5828, allocations: 0.5096 MB / 0.7074 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.5843, allocations: 0.7303 MB / 0.7081 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.5861, allocations: 0.689 MB / 0.7088 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.5874, allocations: 1.333 MB / 0.7101 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.5877, allocations: 265.1 kB / 0.7103 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005858/0.5883, allocations: 400.9 kB / 0.7107 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005882/0.5889, allocations: 0.5687 MB / 0.7113 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.437e-05/0.589, allocations: 32.41 kB / 0.7113 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.5913, allocations: 1.38 MB / 0.7126 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.526e-05/0.5914, allocations: 129.2 kB / 0.7128 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002859/0.5917, allocations: 402.9 kB / 0.7131 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.5931, allocations: 1.33 MB / 0.7144 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.5932, allocations: 0 / 0.7144 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5932, allocations: 0.9688 kB / 0.7144 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.5932, allocations: 4 kB / 0.7144 GB, free: 0.875 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001622/0.5948, allocations: 1.074 MB / 0.7155 GB, free: 16.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.5949, allocations: 18.5 kB / 0.7155 GB, free: 16.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.595, allocations: 95.84 kB / 0.7156 GB, free: 16.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.5956, allocations: 0.5 MB / 0.7161 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/0.5956, allocations: 51.88 kB / 0.7161 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.607e-05/0.5957, allocations: 70.62 kB / 0.7162 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.5968, allocations: 0.6678 MB / 0.7169 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.5968, allocations: 0 / 0.7169 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.614e-05/0.5968, allocations: 32.81 kB / 0.7169 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.5969, allocations: 15.62 kB / 0.7169 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009488/0.5978, allocations: 0.6414 MB / 0.7175 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.6005, allocations: 3.182 MB / 0.7206 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.6016, allocations: 0.679 MB / 0.7213 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.602, allocations: 280.7 kB / 0.7216 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001861/0.6039, allocations: 2.607 MB / 0.7241 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.6039, allocations: 37.69 kB / 0.7242 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=57): time 2.404e-06/0.6039, allocations: 0 / 0.7242 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58): time 0.002909/0.6068, allocations: 1.8 MB / 0.7259 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.6069, allocations: 57.19 kB / 0.726 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.6073, allocations: 447.7 kB / 0.7264 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.6073, allocations: 36.02 kB / 0.7264 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.6075, allocations: 350 kB / 0.7268 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.6076, allocations: 204.2 kB / 0.727 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.6076, allocations: 7.312 kB / 0.727 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.6077, allocations: 373.7 kB / 0.7273 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.608, allocations: 178.3 kB / 0.7275 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.6083, allocations: 235.4 kB / 0.7277 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006528/0.609, allocations: 452 kB / 0.7281 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.609, allocations: 0 / 0.7281 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00104/0.6101, allocations: 0.6447 MB / 0.7288 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.6101, allocations: 14.09 kB / 0.7288 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6101, allocations: 1.859 kB / 0.7288 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003203/0.6104, allocations: 108.2 kB / 0.7289 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.6108, allocations: 103.1 kB / 0.729 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.6124, allocations: 1.894 MB / 0.7308 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.6127, allocations: 45.03 kB / 0.7309 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.6128, allocations: 18.41 kB / 0.7309 GB, free: 8.484 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002174/0.613, allocations: 203.3 kB / 0.7311 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-05/0.6131, allocations: 57.44 kB / 0.7312 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.6145, allocations: 0.8051 MB / 0.7319 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.6145, allocations: 2.859 kB / 0.7319 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6145, allocations: 3.938 kB / 0.7319 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-05/0.6146, allocations: 132.9 kB / 0.7321 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.82e-05/0.6147, allocations: 14.47 kB / 0.7321 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.615, allocations: 44.5 kB / 0.7321 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.6151, allocations: 56.23 kB / 0.7322 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001386/0.6165, allocations: 0.7795 MB / 0.7329 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001297/0.6178, allocations: 1.049 MB / 0.734 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000367/0.6181, allocations: 265.6 kB / 0.7342 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002522/0.6184, allocations: 312.6 kB / 0.7345 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of Backend: time 5.11e-07/0.6184, allocations: 0 / 0.7345 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.6202, allocations: 1.022 MB / 0.7355 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of SimCode: time 0.002119/0.6224, allocations: 2.167 MB / 0.7376 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of Templates: time 0.02019/0.6426, allocations: 14.96 MB / 0.7522 GB, free: 15.79 MB / 0.5261 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches