Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.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.Undirected.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType",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.00304/0.00304, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00333/0.00333, allocations: 198.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.958/2.958, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.585/1.585, allocations: 93.72 MB / 384.1 MB, free: 6.996 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.003772/0.003772, allocations: 85.72 kB / 463.5 MB, free: 21.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3749, allocations: 68.26 MB / 0.5193 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.1037/0.4788, allocations: 44.95 MB / 0.5632 GB, free: 9.809 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03804/0.517, allocations: 12.29 MB / 0.5752 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004281/0.5214, allocations: 59.62 kB / 0.5753 GB, free: 13.42 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004602/0.5261, allocations: 1.146 MB / 0.5764 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01215/0.5383, allocations: 2.062 MB / 0.5784 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007501/0.5458, allocations: 1.179 MB / 0.5795 GB, free: 9.016 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008376/0.5542, allocations: 2.802 MB / 0.5823 GB, free: 6.203 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.5555, allocations: 469.8 kB / 0.5827 GB, free: 5.715 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005187/0.5607, allocations: 1.319 MB / 0.584 GB, free: 4.391 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003438/0.5642, allocations: 1.093 MB / 0.5851 GB, free: 3.293 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.5645, allocations: 136 kB / 0.5852 GB, free: 3.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007639/0.5721, allocations: 1.155 MB / 0.5863 GB, free: 2.004 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.5733, allocations: 430.2 kB / 0.5868 GB, free: 1.582 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.575, allocations: 0.9672 MB / 0.5877 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.8503/1.425, allocations: 2.807 MB / 0.5904 GB, free: 12.74 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.043e-05/1.426, allocations: 2.422 kB / 0.5904 GB, free: 12.74 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.468e-06/1.426, allocations: 5.156 kB / 0.5904 GB, free: 12.74 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002331/1.426, allocations: 0 / 0.5904 GB, free: 12.74 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.01218/1.438, allocations: 2.47 MB / 0.5929 GB, free: 11.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.867e-05/1.438, allocations: 9.531 kB / 0.5929 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003134/1.439, allocations: 192.4 kB / 0.5931 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/1.44, allocations: 225.6 kB / 0.5933 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004823/1.445, allocations: 1.271 MB / 0.5945 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/1.445, allocations: 102.2 kB / 0.5946 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003336/1.445, allocations: 134.3 kB / 0.5947 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005606/1.451, allocations: 1.492 MB / 0.5962 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001787/1.451, allocations: 0.5625 kB / 0.5962 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006563/1.452, allocations: 54.31 kB / 0.5962 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001336/1.452, allocations: 31.16 kB / 0.5963 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007611/1.46, allocations: 1.558 MB / 0.5978 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0192/1.479, allocations: 6.296 MB / 0.6039 GB, free: 23.25 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005127/1.484, allocations: 1.301 MB / 0.6052 GB, free: 23.21 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002309/1.487, allocations: 0.6759 MB / 0.6059 GB, free: 23.19 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01462/1.501, allocations: 4.589 MB / 0.6104 GB, free: 19.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002659/1.504, allocations: 0.6877 MB / 0.611 GB, free: 19.88 MB / 478.1 MB Notification: Performance of pre-optimization done (n=139): time 4.568e-06/1.504, allocations: 0 / 0.611 GB, free: 19.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=139): time 0.008203/1.512, allocations: 2.118 MB / 0.6131 GB, free: 19.53 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002544/1.512, allocations: 67.47 kB / 0.6132 GB, free: 19.46 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005325/1.518, allocations: 1.299 MB / 0.6144 GB, free: 19.29 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001775/1.518, allocations: 47.89 kB / 0.6145 GB, free: 19.26 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/1.519, allocations: 0.6925 MB / 0.6151 GB, free: 19.02 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005671/1.52, allocations: 467.2 kB / 0.6156 GB, free: 18.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001712/1.522, allocations: 255.8 kB / 0.6158 GB, free: 18.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002949/1.522, allocations: 350.2 kB / 0.6162 GB, free: 18.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/1.523, allocations: 464.4 kB / 0.6166 GB, free: 18.39 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002452/1.526, allocations: 0.6214 MB / 0.6172 GB, free: 18.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004536/1.53, allocations: 1.161 MB / 0.6184 GB, free: 18.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.359e-05/1.531, allocations: 1.219 kB / 0.6184 GB, free: 18.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.007753/1.538, allocations: 1.53 MB / 0.6199 GB, free: 17.88 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.538, allocations: 38.8 kB / 0.6199 GB, free: 17.85 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/1.538, allocations: 7.531 kB / 0.6199 GB, free: 17.85 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006517/1.539, allocations: 101.4 kB / 0.62 GB, free: 17.83 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/1.541, allocations: 280 kB / 0.6203 GB, free: 17.83 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006863/1.548, allocations: 3.233 MB / 0.6234 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/1.549, allocations: 118.5 kB / 0.6235 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004948/1.55, allocations: 60.38 kB / 0.6236 GB, free: 15.05 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002266/1.552, allocations: 396.6 kB / 0.624 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007151/1.553, allocations: 176.6 kB / 0.6241 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009563/1.562, allocations: 2.284 MB / 0.6264 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.074e-05/1.563, allocations: 15.12 kB / 0.6264 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-05/1.563, allocations: 7.031 kB / 0.6264 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001026/1.563, allocations: 11.3 kB / 0.6264 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/1.579, allocations: 3.457 MB / 0.6298 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.495e-05/1.579, allocations: 0 / 0.6298 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/1.581, allocations: 285 kB / 0.63 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000549/1.582, allocations: 117.6 kB / 0.6302 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005093/1.582, allocations: 49.23 kB / 0.6302 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007638/1.59, allocations: 3.231 MB / 0.6334 GB, free: 9.324 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/1.59, allocations: 6.688 kB / 0.6334 GB, free: 9.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008946/1.599, allocations: 2.377 MB / 0.6357 GB, free: 8.223 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002489/1.601, allocations: 470.6 kB / 0.6361 GB, free: 7.906 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006339/1.602, allocations: 44.5 kB / 0.6362 GB, free: 7.879 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/1.604, allocations: 42.81 kB / 0.6362 GB, free: 7.859 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006804/1.605, allocations: 127.3 kB / 0.6363 GB, free: 7.836 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002103/1.605, allocations: 58.92 kB / 0.6364 GB, free: 7.824 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003235/1.608, allocations: 0.912 MB / 0.6373 GB, free: 7.496 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.232e-06/1.608, allocations: 2.594 kB / 0.6373 GB, free: 7.496 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004464/1.613, allocations: 0.5875 MB / 0.6379 GB, free: 7.34 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.rear.m_flow,flowResistance2.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 (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01254/1.625, allocations: 3.662 MB / 0.6414 GB, free: 5.496 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00673/1.632, allocations: 1.651 MB / 0.643 GB, free: 4.738 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.632, allocations: 0 / 0.643 GB, free: 4.738 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002793/1.635, allocations: 1.002 MB / 0.644 GB, free: 4.266 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004504/1.639, allocations: 0.5008 MB / 0.6445 GB, free: 4.07 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04413/1.684, allocations: 12.87 MB / 0.6571 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002967/1.687, allocations: 1.348 MB / 0.6584 GB, free: 9.922 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002845/1.69, allocations: 394.8 kB / 0.6588 GB, free: 9.605 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002204/1.692, allocations: 0.7609 MB / 0.6595 GB, free: 8.844 MB / 494.1 MB Notification: Performance of SimCode: time 2.074e-06/1.692, allocations: 0 / 0.6595 GB, free: 8.844 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2093/1.901, allocations: 43.97 MB / 0.7025 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.48/24.38, allocations: 3.922 kB / 0.7025 GB, free: 13.28 MB / 0.5294 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Undirected_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches