Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.conf.json 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/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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 190.8 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.579/0.579, allocations: 89.51 MB / 379.5 MB, free: 11.25 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 78.06 kB / 457.7 MB, free: 23.85 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1037, allocations: 67.31 MB / 0.5127 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.41/0.5137, allocations: 162.6 MB / 0.6714 GB, free: 10.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.5269, allocations: 12.95 MB / 0.6841 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.5279, allocations: 20.53 kB / 0.6841 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.5294, allocations: 0.5133 MB / 0.6846 GB, free: 120 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.5312, allocations: 0.7678 MB / 0.6853 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.533, allocations: 0.6927 MB / 0.686 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001225/0.5342, allocations: 1.412 MB / 0.6874 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003746/0.5346, allocations: 278.2 kB / 0.6877 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005551/0.5351, allocations: 455.5 kB / 0.6881 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006303/0.5358, allocations: 0.6444 MB / 0.6887 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.45e-05/0.5359, allocations: 54.81 kB / 0.6888 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.5383, allocations: 1.377 MB / 0.6901 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.5384, allocations: 160 kB / 0.6903 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003554/0.5388, allocations: 463.8 kB / 0.6907 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.5405, allocations: 1.4 MB / 0.6921 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5405, allocations: 1.812 kB / 0.6921 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5405, allocations: 0 / 0.6921 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.5405, allocations: 7.938 kB / 0.6921 GB, free: 11.39 MB / 0.4981 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.00205/0.5426, allocations: 1.29 MB / 0.6933 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.5426, allocations: 12.03 kB / 0.6934 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.5427, allocations: 114.7 kB / 0.6935 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.5429, allocations: 111.6 kB / 0.6936 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006792/0.5436, allocations: 0.5539 MB / 0.6941 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.5436, allocations: 54.38 kB / 0.6942 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.612e-05/0.5437, allocations: 68.56 kB / 0.6942 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.5448, allocations: 0.7391 MB / 0.695 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.5448, allocations: 0 / 0.695 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.5449, allocations: 28 kB / 0.695 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.5449, allocations: 27.98 kB / 0.695 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.5459, allocations: 0.6247 MB / 0.6956 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003022/0.549, allocations: 3.077 MB / 0.6986 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.5501, allocations: 0.5719 MB / 0.6992 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/0.5505, allocations: 256 kB / 0.6994 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002161/0.5527, allocations: 2.592 MB / 0.702 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.5527, allocations: 47.05 kB / 0.702 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=55): time 2.043e-06/0.5527, allocations: 0 / 0.702 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56): time 0.003222/0.556, allocations: 1.739 MB / 0.7037 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.556, allocations: 59.97 kB / 0.7038 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006162/0.5566, allocations: 0.5706 MB / 0.7043 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.5567, allocations: 33.7 kB / 0.7043 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.5569, allocations: 384.2 kB / 0.7047 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.557, allocations: 189.2 kB / 0.7049 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.5572, allocations: 102.1 kB / 0.705 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5573, allocations: 374.8 kB / 0.7053 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.5576, allocations: 161 kB / 0.7055 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.558, allocations: 231.2 kB / 0.7057 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007115/0.5587, allocations: 427.8 kB / 0.7061 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5587, allocations: 0 / 0.7061 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001127/0.5599, allocations: 0.6392 MB / 0.7068 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.5599, allocations: 4 kB / 0.7068 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5599, allocations: 8.156 kB / 0.7068 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004107/0.5603, allocations: 106.6 kB / 0.7069 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.5607, allocations: 95.88 kB / 0.707 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.5626, allocations: 1.906 MB / 0.7088 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.563, allocations: 31.98 kB / 0.7089 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/0.5631, allocations: 31.98 kB / 0.7089 GB, free: 9.23 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002592/0.5633, allocations: 201.6 kB / 0.7091 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.5635, allocations: 71.16 kB / 0.7091 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.565, allocations: 0.8544 MB / 0.71 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.565, allocations: 8 kB / 0.71 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.565, allocations: 0 / 0.71 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.565, allocations: 7.922 kB / 0.71 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.5673, allocations: 1.493 MB / 0.7114 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.5673, allocations: 0 / 0.7114 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.5676, allocations: 95.92 kB / 0.7115 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003627/0.568, allocations: 124.6 kB / 0.7117 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.568, allocations: 23.92 kB / 0.7117 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.5701, allocations: 1.894 MB / 0.7135 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5701, allocations: 0 / 0.7135 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.5717, allocations: 0.9599 MB / 0.7145 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.5719, allocations: 144.2 kB / 0.7146 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.572, allocations: 12 kB / 0.7146 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.5723, allocations: 39.97 kB / 0.7147 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.243e-05/0.5724, allocations: 48.44 kB / 0.7147 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.5725, allocations: 23.98 kB / 0.7147 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005212/0.573, allocations: 439 kB / 0.7151 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.573, allocations: 4 kB / 0.7151 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009638/0.574, allocations: 327.8 kB / 0.7155 GB, free: 2.199 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.002515/0.5765, allocations: 1.865 MB / 0.7173 GB, free: 300 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.5778, allocations: 0.627 MB / 0.7179 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5778, allocations: 0 / 0.7179 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000739/0.5785, allocations: 442.1 kB / 0.7183 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.5798, allocations: 236.3 kB / 0.7185 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009719/0.5895, allocations: 6.289 MB / 0.7247 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006131/0.5902, allocations: 0.9615 MB / 0.7256 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005104/0.5907, allocations: 131 kB / 0.7257 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.5911, allocations: 315.3 kB / 0.726 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/0.5911, allocations: 0 / 0.726 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07427/0.6654, allocations: 23.03 MB / 0.7485 GB, free: 328 kB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.6657, allocations: 224.2 kB / 0.7487 GB, free: 64 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/2.889, allocations: 4.062 kB / 0.7488 GB, free: 60 kB / 0.545 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches