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.001449/0.001449, allocations: 112.9 kB / 16.41 MB, free: 6.441 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.001656/0.001656, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6768/0.6768, allocations: 91.19 MB / 382.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 79.88 kB / 0.5175 GB, free: 4.078 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2855, allocations: 67.68 MB / 0.5836 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.DynamicBoundaries): time 0.4291/0.7146, allocations: 185.6 MB / 0.7649 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0342/0.7488, allocations: 44.87 MB / 0.8087 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002829/0.7517, allocations: 164.2 kB / 0.8089 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004619/0.7563, allocations: 2.038 MB / 0.8109 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.7667, allocations: 4.098 MB / 0.8149 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01841/0.7851, allocations: 7.221 MB / 0.8219 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005532/0.7907, allocations: 4.676 MB / 0.8265 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.7921, allocations: 0.9512 MB / 0.8274 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02467/0.8168, allocations: 11.51 MB / 0.8387 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002834/0.8197, allocations: 1.767 MB / 0.8404 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001021/0.8207, allocations: 244 kB / 0.8406 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02302/0.8437, allocations: 10.04 MB / 0.8504 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.8449, allocations: 0.6123 MB / 0.851 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002731/0.8476, allocations: 1.666 MB / 0.8527 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02131/0.8689, allocations: 9.401 MB / 0.8618 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.869, allocations: 4 kB / 0.8618 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.643e-06/0.869, allocations: 0 / 0.8618 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001181/0.8691, allocations: 0 / 0.8618 GB, free: 14.43 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.01255/0.8817, allocations: 5.031 MB / 0.8668 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.8817, allocations: 8.031 kB / 0.8668 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002732/0.8844, allocations: 0.6395 MB / 0.8674 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004416/0.8889, allocations: 2.226 MB / 0.8696 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.8891, allocations: 184.8 kB / 0.8697 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004592/0.8895, allocations: 251.8 kB / 0.87 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006458/0.896, allocations: 2.847 MB / 0.8728 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.863e-05/0.8961, allocations: 0 / 0.8728 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/0.8963, allocations: 103.9 kB / 0.8729 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/0.8964, allocations: 63.94 kB / 0.8729 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005704/0.9021, allocations: 2.373 MB / 0.8752 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01667/0.9187, allocations: 13.84 MB / 0.8888 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005154/0.9239, allocations: 2.165 MB / 0.8909 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.9257, allocations: 1.059 MB / 0.8919 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.101/1.027, allocations: 47.81 MB / 0.9386 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/1.027, allocations: 54.56 kB / 0.9386 GB, free: 8.945 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=208): time 5.149e-06/1.027, allocations: 0 / 0.9386 GB, free: 8.945 MB / 0.7012 GB Notification: Performance of matching and sorting (n=208): time 0.01167/1.039, allocations: 4.4 MB / 0.9429 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/1.039, allocations: 203.9 kB / 0.9431 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003058/1.042, allocations: 2.042 MB / 0.9451 GB, free: 2.109 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001792/1.042, allocations: 61.7 kB / 0.9452 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/1.043, allocations: 1.282 MB / 0.9464 GB, free: 0.75 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006276/1.044, allocations: 0.7062 MB / 0.9471 GB, free: 52 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005637/1.044, allocations: 339.5 kB / 0.9475 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/1.044, allocations: 309.1 kB / 0.9478 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/1.046, allocations: 0.6521 MB / 0.9484 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/1.047, allocations: 0.9426 MB / 0.9493 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002973/1.05, allocations: 1.734 MB / 0.951 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/1.05, allocations: 4 kB / 0.951 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.004654/1.055, allocations: 2.375 MB / 0.9533 GB, free: 9.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/1.055, allocations: 8 kB / 0.9533 GB, free: 9.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/1.055, allocations: 8 kB / 0.9533 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008766/1.056, allocations: 301.3 kB / 0.9536 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/1.057, allocations: 395.4 kB / 0.954 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008016/1.065, allocations: 9.616 MB / 0.9634 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/1.067, allocations: 194 kB / 0.9636 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/1.067, allocations: 80.05 kB / 0.9637 GB, free: 14.06 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.001078/1.068, allocations: 461.2 kB / 0.9641 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006993/1.069, allocations: 288.3 kB / 0.9644 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008799/1.078, allocations: 6.468 MB / 0.9707 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.274e-05/1.078, allocations: 15.95 kB / 0.9707 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/1.078, allocations: 0 / 0.9707 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008346/1.079, allocations: 475.2 kB / 0.9712 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004504/1.079, allocations: 87.38 kB / 0.9712 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/1.081, allocations: 67.94 kB / 0.9713 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/1.081, allocations: 176.3 kB / 0.9715 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007205/1.088, allocations: 4.123 MB / 0.9755 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00778/1.096, allocations: 5.563 MB / 0.9809 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002277/1.098, allocations: 1.596 MB / 0.9825 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002736/1.101, allocations: 1.65 MB / 0.9841 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of Backend: time 6.32e-07/1.101, allocations: 0 / 0.9841 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01467/1.116, allocations: 4.826 MB / 0.9888 GB, free: 4.414 MB / 0.7481 GB Notification: Performance of SimCode: time 0.01116/1.127, allocations: 6.603 MB / 0.9953 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of Templates: time 0.3502/1.477, allocations: 93.76 MB / 1.087 GB, free: 291.2 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