Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.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.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink",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.008904/0.008905, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.002325/0.002325, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.574/1.574, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9778/0.9778, allocations: 93.69 MB / 384.2 MB, free: 5.246 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002551/0.002552, allocations: 79.88 kB / 0.5199 GB, free: 1.094 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5151/0.5176, allocations: 68.25 MB / 0.5866 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.2075/0.7252, allocations: 140.5 MB / 0.7238 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004555/0.7299, allocations: 3.335 MB / 0.7271 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004209/0.7303, allocations: 19.88 kB / 0.7271 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006824/0.731, allocations: 139.1 kB / 0.7272 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005591/0.7317, allocations: 186.8 kB / 0.7274 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006337/0.7323, allocations: 203.3 kB / 0.7276 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005186/0.7328, allocations: 398.4 kB / 0.728 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.733, allocations: 60.5 kB / 0.728 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005824/0.7336, allocations: 222.9 kB / 0.7282 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.7338, allocations: 131.3 kB / 0.7284 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.7339, allocations: 8 kB / 0.7284 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005871/0.7345, allocations: 251.6 kB / 0.7286 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.7346, allocations: 43.67 kB / 0.7287 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.7347, allocations: 115.2 kB / 0.7288 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006356/0.7354, allocations: 331.6 kB / 0.7291 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.7354, allocations: 0 / 0.7291 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.945e-06/0.7354, allocations: 0 / 0.7291 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.7354, allocations: 0 / 0.7291 GB, free: 7.77 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001029/0.7364, allocations: 0.5811 MB / 0.7297 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.7365, allocations: 12.03 kB / 0.7297 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.661e-05/0.7366, allocations: 42.73 kB / 0.7297 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.7366, allocations: 32.7 kB / 0.7297 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007506/0.7374, allocations: 388.2 kB / 0.7301 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.7374, allocations: 8.609 kB / 0.7301 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-05/0.7375, allocations: 16.31 kB / 0.7301 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.7378, allocations: 146.7 kB / 0.7303 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.7378, allocations: 0 / 0.7303 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.7378, allocations: 4 kB / 0.7303 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.7378, allocations: 7.984 kB / 0.7303 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.738, allocations: 67.92 kB / 0.7303 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009805/0.739, allocations: 0.7428 MB / 0.7311 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.7392, allocations: 89.09 kB / 0.7312 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.82e-05/0.7392, allocations: 29.72 kB / 0.7312 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002117/0.7395, allocations: 166.3 kB / 0.7313 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.7395, allocations: 38.56 kB / 0.7314 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.7395, allocations: 0 / 0.7314 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0007924/0.7403, allocations: 329.3 kB / 0.7317 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/0.7404, allocations: 89.05 kB / 0.7318 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004613/0.7409, allocations: 333.6 kB / 0.7321 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.7409, allocations: 29.7 kB / 0.7321 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.7411, allocations: 176 kB / 0.7323 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.7412, allocations: 31.73 kB / 0.7323 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.7412, allocations: 21.72 kB / 0.7323 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002838/0.7415, allocations: 342.8 kB / 0.7327 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.851e-05/0.7416, allocations: 16 kB / 0.7327 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-05/0.7417, allocations: 51.42 kB / 0.7327 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.7418, allocations: 83.72 kB / 0.7328 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7418, allocations: 0 / 0.7328 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003136/0.7421, allocations: 167.2 kB / 0.733 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.7422, allocations: 4 kB / 0.733 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.7422, allocations: 3.938 kB / 0.733 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002813/0.7425, allocations: 45.7 kB / 0.733 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.946e-05/0.7426, allocations: 11.98 kB / 0.733 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/0.7456, allocations: 2.757 MB / 0.7357 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.7457, allocations: 12.17 kB / 0.7357 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.7457, allocations: 8 kB / 0.7358 GB, free: 280 kB / 0.5762 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002188/0.746, allocations: 141.7 kB / 0.7359 GB, free: 128 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-05/0.7461, allocations: 39.7 kB / 0.7359 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5413/1.287, allocations: 146 kB / 0.7361 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/1.287, allocations: 1.969 kB / 0.7361 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.287, allocations: 4.672 kB / 0.7361 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/1.287, allocations: 0.5625 kB / 0.7361 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/1.289, allocations: 0.5292 MB / 0.7366 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.289, allocations: 1.062 kB / 0.7366 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/1.289, allocations: 12.38 kB / 0.7366 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001985/1.289, allocations: 39.84 kB / 0.7366 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/1.289, allocations: 3.359 kB / 0.7366 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/1.291, allocations: 2.764 MB / 0.7393 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/1.291, allocations: 1.438 kB / 0.7393 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/1.291, allocations: 342.2 kB / 0.7397 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.642e-05/1.291, allocations: 109.6 kB / 0.7398 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/1.291, allocations: 2.281 kB / 0.7398 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/1.291, allocations: 12.53 kB / 0.7398 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/1.291, allocations: 6.766 kB / 0.7398 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/1.292, allocations: 3.906 kB / 0.7398 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003868/1.292, allocations: 240.9 kB / 0.74 GB, free: 148 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.31e-07/1.292, allocations: 0.7812 kB / 0.74 GB, free: 148 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004642/1.292, allocations: 46.8 kB / 0.7401 GB, free: 148 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.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 (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008395/1.293, allocations: 0.9255 MB / 0.741 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000509/1.294, allocations: 283.7 kB / 0.7412 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.294, allocations: 0 / 0.7412 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/1.294, allocations: 258.1 kB / 0.7415 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008652/1.295, allocations: 65.11 kB / 0.7416 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/1.298, allocations: 2.692 MB / 0.7442 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/1.299, allocations: 0.7578 MB / 0.7449 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001202/1.299, allocations: 26.78 kB / 0.745 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/1.299, allocations: 91.08 kB / 0.745 GB, free: 144 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/1.299, allocations: 3.938 kB / 0.745 GB, free: 144 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04536/1.344, allocations: 6.87 MB / 0.7518 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/11.4, allocations: 14.38 kB / 0.7518 GB, free: 140.8 MB / 0.5762 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches