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.001494/0.001494, allocations: 110.7 kB / 16.42 MB, free: 6.527 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.00161/0.00161, allocations: 187.9 kB / 17.35 MB, free: 5.727 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.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6851/0.6851, allocations: 91.2 MB / 382.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 83.88 kB / 0.5175 GB, free: 4.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.289, allocations: 67.68 MB / 0.5836 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.4642/0.7533, allocations: 189.2 MB / 0.7684 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01688/0.7702, allocations: 17.79 MB / 0.7858 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00202/0.7722, allocations: 65.36 kB / 0.7858 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002557/0.7748, allocations: 0.9933 MB / 0.7868 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005911/0.7807, allocations: 2.378 MB / 0.7891 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004357/0.7851, allocations: 1.846 MB / 0.7909 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003968/0.7891, allocations: 3.559 MB / 0.7944 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007908/0.7899, allocations: 449.5 kB / 0.7948 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002673/0.7926, allocations: 1.563 MB / 0.7964 GB, free: 468 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/0.7948, allocations: 1.547 MB / 0.7979 GB, free: 200 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004953/0.7953, allocations: 169.5 kB / 0.798 GB, free: 200 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005374/0.8007, allocations: 2.561 MB / 0.8005 GB, free: 152 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000542/0.8013, allocations: 457.3 kB / 0.801 GB, free: 68 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001717/0.803, allocations: 1.077 MB / 0.802 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00557/0.8086, allocations: 3.247 MB / 0.8052 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.8086, allocations: 0.8438 kB / 0.8052 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8086, allocations: 0 / 0.8052 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.669e-05/0.8087, allocations: 0.9375 kB / 0.8052 GB, free: 15.22 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.00526/0.8139, allocations: 2.669 MB / 0.8078 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.814, allocations: 8.844 kB / 0.8078 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007857/0.8148, allocations: 262.7 kB / 0.8081 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/0.8171, allocations: 1.305 MB / 0.8093 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.812e-05/0.8172, allocations: 111.3 kB / 0.8094 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/0.8174, allocations: 157 kB / 0.8096 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.8201, allocations: 1.632 MB / 0.8112 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/0.8201, allocations: 6.75 kB / 0.8112 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.8203, allocations: 68.48 kB / 0.8113 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.8203, allocations: 33.34 kB / 0.8113 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/0.8228, allocations: 1.485 MB / 0.8127 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008932/0.8317, allocations: 7.151 MB / 0.8197 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/0.8345, allocations: 1.554 MB / 0.8212 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.8357, allocations: 0.7592 MB / 0.822 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006223/0.842, allocations: 5.953 MB / 0.8278 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.842, allocations: 63.95 kB / 0.8279 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=166): time 2.995e-06/0.842, allocations: 0 / 0.8279 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166): time 0.006942/0.849, allocations: 3.159 MB / 0.8309 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/0.8491, allocations: 175 kB / 0.8311 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.8508, allocations: 1.27 MB / 0.8323 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.851, allocations: 57.7 kB / 0.8324 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005867/0.8516, allocations: 0.7916 MB / 0.8332 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000437/0.852, allocations: 0.5984 MB / 0.8338 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004218/0.8524, allocations: 291.5 kB / 0.834 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.022e-05/0.8525, allocations: 301.1 kB / 0.8343 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000975/0.8535, allocations: 0.492 MB / 0.8348 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.8548, allocations: 0.834 MB / 0.8356 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/0.8571, allocations: 1.429 MB / 0.837 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.8571, allocations: 4 kB / 0.837 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003518/0.8606, allocations: 1.865 MB / 0.8388 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.8607, allocations: 11.94 kB / 0.8388 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.8607, allocations: 11.98 kB / 0.8389 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007257/0.8614, allocations: 230.8 kB / 0.8391 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.8629, allocations: 380.1 kB / 0.8394 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005736/0.8686, allocations: 7.681 MB / 0.8469 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.8698, allocations: 158.7 kB / 0.8471 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.87, allocations: 79.97 kB / 0.8472 GB, free: 9.27 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.0006624/0.8707, allocations: 336.8 kB / 0.8475 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004519/0.8711, allocations: 198.7 kB / 0.8477 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/0.8753, allocations: 2.07 MB / 0.8497 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/0.8753, allocations: 7.969 kB / 0.8497 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.8754, allocations: 7.984 kB / 0.8497 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/0.8757, allocations: 275.4 kB / 0.85 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/0.876, allocations: 36 kB / 0.85 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009957/0.877, allocations: 67.89 kB / 0.8501 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/0.8773, allocations: 128.7 kB / 0.8502 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005017/0.8823, allocations: 2.252 MB / 0.8524 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003911/0.8862, allocations: 2.624 MB / 0.855 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001034/0.8873, allocations: 0.6116 MB / 0.8556 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00117/0.8885, allocations: 0.8805 MB / 0.8564 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of Backend: time 6.02e-07/0.8885, allocations: 0 / 0.8564 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004961/0.8934, allocations: 2.404 MB / 0.8588 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of SimCode: time 0.00612/0.8996, allocations: 4.476 MB / 0.8631 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of Templates: time 0.05813/0.9577, allocations: 38.14 MB / 0.9004 GB, free: 3.086 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