Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.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.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") translateModel(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|source3.outlet.m_flow|source4.outlet.m_flow|source5.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000984/0.0009841, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001034/0.001034, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6862/0.6862, allocations: 91.18 MB / 382.4 MB, free: 7.547 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 75.88 kB / 0.5175 GB, free: 4.109 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2875, allocations: 67.7 MB / 0.5836 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.4405/0.728, allocations: 185.6 MB / 0.7649 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03485/0.7628, allocations: 44.87 MB / 0.8087 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.7656, allocations: 158.5 kB / 0.8089 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004681/0.7703, allocations: 2.038 MB / 0.8109 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009857/0.7802, allocations: 4.103 MB / 0.8149 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01778/0.798, allocations: 7.216 MB / 0.8219 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00541/0.8035, allocations: 4.673 MB / 0.8265 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.8047, allocations: 0.9557 MB / 0.8274 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02497/0.8296, allocations: 11.52 MB / 0.8387 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002509/0.8322, allocations: 1.772 MB / 0.8404 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004943/0.8327, allocations: 240 kB / 0.8406 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02223/0.8549, allocations: 10.04 MB / 0.8504 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.8561, allocations: 0.6102 MB / 0.851 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002459/0.8585, allocations: 1.677 MB / 0.8527 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02208/0.8806, allocations: 9.428 MB / 0.8619 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.8807, allocations: 3.938 kB / 0.8619 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8807, allocations: 0 / 0.8619 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.791e-05/0.8807, allocations: 4 kB / 0.8619 GB, free: 14.55 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 614 * Number of variables: 614 Notification: Performance of Generate backend data structure: time 0.01191/0.8927, allocations: 5.184 MB / 0.867 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.8927, allocations: 8.031 kB / 0.867 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002647/0.8954, allocations: 0.6573 MB / 0.8676 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004081/0.8995, allocations: 2.26 MB / 0.8698 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.8996, allocations: 180.8 kB / 0.87 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003529/0.9, allocations: 247.9 kB / 0.8702 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005983/0.906, allocations: 2.847 MB / 0.873 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.866e-05/0.906, allocations: 3.938 kB / 0.873 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/0.9062, allocations: 100 kB / 0.8731 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.475e-05/0.9063, allocations: 63.94 kB / 0.8732 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005597/0.9119, allocations: 2.369 MB / 0.8755 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01527/0.9272, allocations: 13.86 MB / 0.889 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005003/0.9322, allocations: 2.172 MB / 0.8911 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/0.9339, allocations: 1.054 MB / 0.8922 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08917/1.023, allocations: 47.82 MB / 0.9389 GB, free: 8.914 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/1.023, allocations: 62.5 kB / 0.9389 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=208): time 4.448e-06/1.023, allocations: 0 / 0.9389 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of matching and sorting (n=208): time 0.01154/1.035, allocations: 4.399 MB / 0.9432 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.055e-05/1.035, allocations: 207.9 kB / 0.9434 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/1.038, allocations: 2.046 MB / 0.9454 GB, free: 2 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000132/1.038, allocations: 61.7 kB / 0.9455 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009446/1.039, allocations: 1.298 MB / 0.9467 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005812/1.039, allocations: 0.7355 MB / 0.9474 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005195/1.04, allocations: 339.5 kB / 0.9478 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/1.04, allocations: 308.9 kB / 0.9481 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/1.041, allocations: 0.6637 MB / 0.9487 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/1.043, allocations: 0.9387 MB / 0.9496 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003007/1.046, allocations: 1.738 MB / 0.9513 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.046, allocations: 0 / 0.9513 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.004531/1.05, allocations: 2.393 MB / 0.9537 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.05, allocations: 10.97 kB / 0.9537 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/1.05, allocations: 8 kB / 0.9537 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008793/1.051, allocations: 309.1 kB / 0.954 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/1.053, allocations: 387.5 kB / 0.9543 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007632/1.06, allocations: 9.633 MB / 0.9638 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/1.062, allocations: 194.6 kB / 0.9639 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/1.062, allocations: 79.98 kB / 0.964 GB, free: 13.88 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 24 (dynamicPressureInflow5.outlet.state.phase,dynamicPressureInflow4.outlet.state.phase,dynamicPressureInflow3.outlet.state.phase,dynamicPressureInflow2.outlet.state.phase,dynamicPressureInflow1.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,flowResistance5.outlet.state.phase,dynamicPressureOutflow5.outlet.state.phase,source5.outlet.state.phase,flowResistance4.outlet.state.phase,dynamicPressureOutflow4.outlet.state.phase,source4.outlet.state.phase,flowResistance3.outlet.state.phase,dynamicPressureOutflow3.outlet.state.phase,source3.outlet.state.phase,flowResistance2.outlet.state.phase,dynamicPressureOutflow2.outlet.state.phase,source2.outlet.state.phase,flowResistance1.outlet.state.phase,dynamicPressureOutflow1.outlet.state.phase,source1.outlet.state.phase,flowResistance.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase,source.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (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.0009115/1.063, allocations: 461.3 kB / 0.9645 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000582/1.064, allocations: 294.1 kB / 0.9647 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008335/1.072, allocations: 6.481 MB / 0.9711 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.618e-05/1.072, allocations: 19.89 kB / 0.9711 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.072, allocations: 0 / 0.9711 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006882/1.073, allocations: 497.4 kB / 0.9716 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003182/1.073, allocations: 83.56 kB / 0.9716 GB, free: 6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/1.074, allocations: 71.95 kB / 0.9717 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/1.074, allocations: 176.3 kB / 0.9719 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006616/1.081, allocations: 4.14 MB / 0.9759 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007237/1.088, allocations: 5.561 MB / 0.9813 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002104/1.09, allocations: 1.608 MB / 0.9829 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002195/1.093, allocations: 1.646 MB / 0.9845 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of Backend: time 5.31e-07/1.093, allocations: 0 / 0.9845 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0119/1.105, allocations: 4.86 MB / 0.9893 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of SimCode: time 0.009125/1.114, allocations: 6.722 MB / 0.9958 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of Templates: time 0.3412/1.455, allocations: 93.78 MB / 1.087 GB, free: 288.9 MB / 0.7794 GB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.DynamicBoundaries_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches