Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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: translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01029/0.01029, allocations: 99.55 kB / 15.73 MB, free: 6.008 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.001733/0.001733, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7424/0.7424, allocations: 91.18 MB / 381.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 75.88 kB / 0.5168 GB, free: 9.012 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1442, allocations: 67.7 MB / 0.5829 GB, free: 5.234 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4982/0.6425, allocations: 140.5 MB / 0.7201 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003408/0.6459, allocations: 3.298 MB / 0.7234 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002598/0.6462, allocations: 15.88 kB / 0.7234 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005528/0.6468, allocations: 125.6 kB / 0.7235 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004203/0.6473, allocations: 185.2 kB / 0.7237 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.6478, allocations: 203.2 kB / 0.7239 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.6482, allocations: 334.6 kB / 0.7242 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.6483, allocations: 60.38 kB / 0.7242 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004755/0.6488, allocations: 211 kB / 0.7245 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.649, allocations: 119.3 kB / 0.7246 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.649, allocations: 8 kB / 0.7246 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004766/0.6495, allocations: 263.5 kB / 0.7248 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.625e-05/0.6496, allocations: 39.84 kB / 0.7249 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.746e-05/0.6497, allocations: 107.3 kB / 0.725 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004729/0.6502, allocations: 317 kB / 0.7253 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.6502, allocations: 8 kB / 0.7253 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.817e-06/0.6502, allocations: 3.938 kB / 0.7253 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.6502, allocations: 3.938 kB / 0.7253 GB, free: 6.352 MB / 0.5606 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.0008082/0.651, allocations: 0.5419 MB / 0.7258 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.6511, allocations: 8.031 kB / 0.7258 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.6512, allocations: 36.56 kB / 0.7259 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.6517, allocations: 348 kB / 0.7262 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.6518, allocations: 8.609 kB / 0.7262 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.6518, allocations: 20.27 kB / 0.7262 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.6521, allocations: 159 kB / 0.7264 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.6521, allocations: 4 kB / 0.7264 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.6521, allocations: 4 kB / 0.7264 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.6521, allocations: 4 kB / 0.7264 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.6522, allocations: 71.91 kB / 0.7264 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008069/0.6531, allocations: 0.727 MB / 0.7272 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.6532, allocations: 89.08 kB / 0.7272 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.083e-05/0.6533, allocations: 37.8 kB / 0.7273 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.6534, allocations: 158.2 kB / 0.7274 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.6535, allocations: 42.56 kB / 0.7275 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.6535, allocations: 0 / 0.7275 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0006551/0.6541, allocations: 329.1 kB / 0.7278 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.6542, allocations: 81.05 kB / 0.7279 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.6545, allocations: 317.6 kB / 0.7282 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.6545, allocations: 33.7 kB / 0.7282 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.6546, allocations: 156.1 kB / 0.7283 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.6547, allocations: 31.55 kB / 0.7284 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.6547, allocations: 21.72 kB / 0.7284 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6549, allocations: 346.7 kB / 0.7287 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.906e-05/0.6549, allocations: 20 kB / 0.7287 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.883e-05/0.655, allocations: 47.42 kB / 0.7288 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.671e-05/0.6551, allocations: 71.36 kB / 0.7289 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6551, allocations: 0 / 0.7289 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002512/0.6553, allocations: 154.9 kB / 0.729 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.6554, allocations: 12 kB / 0.729 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.6554, allocations: 4 kB / 0.729 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/0.6556, allocations: 37.89 kB / 0.7291 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.6557, allocations: 12.86 kB / 0.7291 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.6577, allocations: 2.766 MB / 0.7318 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.907e-05/0.6577, allocations: 15.86 kB / 0.7318 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.6578, allocations: 4 kB / 0.7318 GB, free: 15.04 MB / 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.0001155/0.6579, allocations: 137.8 kB / 0.7319 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.6579, allocations: 39.5 kB / 0.732 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.6582, allocations: 147.3 kB / 0.7321 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6582, allocations: 0 / 0.7321 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.6582, allocations: 4 kB / 0.7321 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.6583, allocations: 4 kB / 0.7321 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.6588, allocations: 0.5166 MB / 0.7326 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6588, allocations: 7.938 kB / 0.7326 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/0.6588, allocations: 4 kB / 0.7326 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/0.6589, allocations: 45.81 kB / 0.7327 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.659, allocations: 0 / 0.7327 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/0.6608, allocations: 2.767 MB / 0.7354 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6608, allocations: 3.188 kB / 0.7354 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.6611, allocations: 333.9 kB / 0.7357 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.101e-05/0.6612, allocations: 108.8 kB / 0.7358 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.6613, allocations: 4 kB / 0.7358 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.6614, allocations: 0 / 0.7358 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.6614, allocations: 19.86 kB / 0.7358 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.6614, allocations: 12 kB / 0.7358 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002125/0.6617, allocations: 227.2 kB / 0.736 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6617, allocations: 0 / 0.736 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003836/0.6621, allocations: 47.92 kB / 0.7361 GB, free: 10.2 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.0002205/0.6623, allocations: 155.4 kB / 0.7362 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004256/0.6627, allocations: 289.3 kB / 0.7365 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.6627, allocations: 0 / 0.7365 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.663, allocations: 257.2 kB / 0.7368 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005679/0.6636, allocations: 65.64 kB / 0.7368 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000877/0.6645, allocations: 0.5457 MB / 0.7374 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.6648, allocations: 0.7596 MB / 0.7381 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.042e-05/0.6649, allocations: 25.02 kB / 0.7381 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.6649, allocations: 19.44 kB / 0.7381 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.6649, allocations: 0 / 0.7381 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of Templates: time 0.007265/0.6722, allocations: 3.397 MB / 0.7415 GB, free: 4.617 MB / 0.5762 GB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches