Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.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.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV") translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 119.8 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.00135/0.00135, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.333/1.333, allocations: 222.9 MB / 241.1 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.7838/0.7838, allocations: 91.18 MB / 382.4 MB, free: 7.531 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 75.88 kB / 0.5175 GB, free: 4.117 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2817, allocations: 67.69 MB / 0.5836 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.457/0.7388, allocations: 189.2 MB / 0.7684 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01633/0.7551, allocations: 17.79 MB / 0.7858 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/0.7571, allocations: 60.03 kB / 0.7858 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002214/0.7594, allocations: 0.9921 MB / 0.7868 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005384/0.7648, allocations: 2.378 MB / 0.7891 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004253/0.769, allocations: 1.84 MB / 0.7909 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003749/0.7728, allocations: 3.562 MB / 0.7944 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007618/0.7736, allocations: 453.2 kB / 0.7948 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002671/0.7763, allocations: 1.557 MB / 0.7964 GB, free: 492 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/0.7785, allocations: 1.557 MB / 0.7979 GB, free: 224 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005471/0.7791, allocations: 167.1 kB / 0.798 GB, free: 224 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005938/0.785, allocations: 2.564 MB / 0.8005 GB, free: 176 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000621/0.7856, allocations: 448.1 kB / 0.801 GB, free: 92 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001772/0.7874, allocations: 1.08 MB / 0.802 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005451/0.7929, allocations: 3.223 MB / 0.8052 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.7929, allocations: 5.391 kB / 0.8052 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7929, allocations: 0.6875 kB / 0.8052 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.864e-05/0.793, allocations: 0 / 0.8052 GB, free: 15.26 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.005553/0.7986, allocations: 2.6 MB / 0.8077 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.7986, allocations: 7.656 kB / 0.8077 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008153/0.7994, allocations: 250.4 kB / 0.808 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/0.8019, allocations: 1.292 MB / 0.8092 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.446e-05/0.802, allocations: 113.8 kB / 0.8093 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.8022, allocations: 153 kB / 0.8095 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002773/0.8049, allocations: 1.634 MB / 0.8111 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.805, allocations: 6.562 kB / 0.8111 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.8052, allocations: 64.47 kB / 0.8111 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.8052, allocations: 36.38 kB / 0.8112 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/0.8077, allocations: 1.48 MB / 0.8126 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009281/0.817, allocations: 7.139 MB / 0.8196 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/0.8199, allocations: 1.553 MB / 0.8211 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.8211, allocations: 0.7633 MB / 0.8218 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006443/0.8275, allocations: 5.951 MB / 0.8277 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.8276, allocations: 59.12 kB / 0.8277 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=166): time 3.537e-06/0.8276, allocations: 5.031 kB / 0.8277 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166): time 0.006949/0.8346, allocations: 3.142 MB / 0.8308 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/0.8347, allocations: 177.7 kB / 0.831 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.8364, allocations: 1.274 MB / 0.8322 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.8365, allocations: 57.7 kB / 0.8323 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005743/0.8371, allocations: 0.7744 MB / 0.833 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004534/0.8376, allocations: 0.5694 MB / 0.8336 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004497/0.838, allocations: 299.4 kB / 0.8339 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.8381, allocations: 301.1 kB / 0.8341 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.8392, allocations: 499.8 kB / 0.8346 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.8404, allocations: 0.8261 MB / 0.8354 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002368/0.8428, allocations: 1.433 MB / 0.8368 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.8428, allocations: 4 kB / 0.8368 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003595/0.8464, allocations: 1.858 MB / 0.8386 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.8465, allocations: 15.06 kB / 0.8387 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.8465, allocations: 12 kB / 0.8387 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007556/0.8473, allocations: 222.8 kB / 0.8389 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.8487, allocations: 378.8 kB / 0.8392 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006283/0.855, allocations: 7.673 MB / 0.8467 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.8563, allocations: 166.2 kB / 0.8469 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.8565, allocations: 75.98 kB / 0.847 GB, free: 9.434 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (201): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006963/0.8572, allocations: 344.7 kB / 0.8473 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004749/0.8577, allocations: 185.8 kB / 0.8475 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004248/0.8619, allocations: 2.062 MB / 0.8495 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.471e-05/0.862, allocations: 7.969 kB / 0.8495 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.862, allocations: 4 kB / 0.8495 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004392/0.8624, allocations: 274.3 kB / 0.8498 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/0.8627, allocations: 35.94 kB / 0.8498 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.8638, allocations: 58.59 kB / 0.8499 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/0.864, allocations: 128.7 kB / 0.85 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005354/0.8694, allocations: 2.249 MB / 0.8522 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004138/0.8735, allocations: 2.625 MB / 0.8547 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00109/0.8746, allocations: 0.6051 MB / 0.8553 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001234/0.8759, allocations: 0.8819 MB / 0.8562 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of Backend: time 5.01e-07/0.8759, allocations: 0 / 0.8562 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005242/0.8811, allocations: 2.387 MB / 0.8585 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of SimCode: time 0.006445/0.8876, allocations: 4.416 MB / 0.8628 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of Templates: time 0.05884/0.9465, allocations: 38.14 MB / 0.9001 GB, free: 3.371 MB / 0.67 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.PCV_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches