Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.001656/0.001657, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002072/0.002072, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.472/1.472, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6628/0.6628, allocations: 93.71 MB / 383.7 MB, free: 7.18 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 77.78 kB / 462.7 MB, free: 22.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1184, allocations: 68.27 MB / 0.5185 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.4162/0.5347, allocations: 188.2 MB / 0.7024 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02229/0.557, allocations: 18.14 MB / 0.7201 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.5594, allocations: 79.44 kB / 0.7202 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.5622, allocations: 0.8704 MB / 0.721 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006164/0.5684, allocations: 2.2 MB / 0.7232 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004636/0.5731, allocations: 1.621 MB / 0.7247 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00539/0.5785, allocations: 4.559 MB / 0.7292 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009151/0.5794, allocations: 431.8 kB / 0.7296 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003031/0.5825, allocations: 1.416 MB / 0.731 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002615/0.5851, allocations: 1.552 MB / 0.7325 GB, free: 244 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006271/0.5858, allocations: 104 kB / 0.7326 GB, free: 140 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006298/0.5921, allocations: 2.546 MB / 0.7351 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009839/0.5931, allocations: 390.1 kB / 0.7355 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002199/0.5953, allocations: 1.018 MB / 0.7364 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007079/0.6024, allocations: 3.061 MB / 0.7394 GB, free: 9.109 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.6025, allocations: 0 / 0.7394 GB, free: 9.109 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6025, allocations: 0 / 0.7394 GB, free: 9.109 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001005/0.6026, allocations: 4 kB / 0.7394 GB, free: 9.105 MB / 0.545 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.006074/0.6087, allocations: 2.624 MB / 0.742 GB, free: 6.422 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.6088, allocations: 12.03 kB / 0.742 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008613/0.6096, allocations: 251.9 kB / 0.7423 GB, free: 6.164 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/0.612, allocations: 1.217 MB / 0.7434 GB, free: 4.895 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.6121, allocations: 114.8 kB / 0.7436 GB, free: 4.781 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003117/0.6124, allocations: 155.9 kB / 0.7437 GB, free: 4.629 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003291/0.6157, allocations: 1.635 MB / 0.7453 GB, free: 2.938 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/0.6158, allocations: 7.938 kB / 0.7453 GB, free: 2.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.616, allocations: 64 kB / 0.7454 GB, free: 2.867 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-05/0.616, allocations: 36 kB / 0.7454 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00282/0.6189, allocations: 1.481 MB / 0.7468 GB, free: 1.348 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/0.6291, allocations: 7.173 MB / 0.7539 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/0.6321, allocations: 1.542 MB / 0.7554 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.6335, allocations: 0.7509 MB / 0.7561 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006704/0.6402, allocations: 5.951 MB / 0.7619 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/0.6403, allocations: 71.73 kB / 0.762 GB, free: 452 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=166): time 3.196e-06/0.6403, allocations: 0 / 0.762 GB, free: 452 kB / 0.5606 GB Notification: Performance of matching and sorting (n=166): time 0.007101/0.6474, allocations: 3.139 MB / 0.765 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.026e-05/0.6475, allocations: 187 kB / 0.7652 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.6494, allocations: 1.307 MB / 0.7665 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001802/0.6496, allocations: 57.7 kB / 0.7665 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005689/0.6501, allocations: 0.7843 MB / 0.7673 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004914/0.6506, allocations: 0.5659 MB / 0.7679 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004484/0.6511, allocations: 291.4 kB / 0.7681 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.6512, allocations: 305.1 kB / 0.7684 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.6523, allocations: 0.492 MB / 0.7689 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.6536, allocations: 0.8286 MB / 0.7697 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002314/0.6559, allocations: 1.434 MB / 0.7711 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.6559, allocations: 4 kB / 0.7711 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003651/0.6596, allocations: 1.851 MB / 0.7729 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.6596, allocations: 11.94 kB / 0.7729 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.6596, allocations: 12 kB / 0.773 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008311/0.6605, allocations: 232.8 kB / 0.7732 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.662, allocations: 387.4 kB / 0.7736 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005746/0.6677, allocations: 7.131 MB / 0.7805 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.6692, allocations: 186.2 kB / 0.7807 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002814/0.6695, allocations: 75.98 kB / 0.7808 GB, free: 11.96 MB / 0.5919 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.0008066/0.6704, allocations: 341.3 kB / 0.7811 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006039/0.671, allocations: 185.8 kB / 0.7813 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/0.6754, allocations: 2.083 MB / 0.7833 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.6754, allocations: 16 kB / 0.7833 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/0.6754, allocations: 4 kB / 0.7833 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.6755, allocations: 12.16 kB / 0.7833 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00732/0.6828, allocations: 3.945 MB / 0.7872 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.6828, allocations: 4 kB / 0.7872 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.6839, allocations: 263.9 kB / 0.7874 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001923/0.6859, allocations: 471.1 kB / 0.7879 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/0.6861, allocations: 55.97 kB / 0.7879 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007492/0.6936, allocations: 9.419 MB / 0.7971 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.6936, allocations: 8.062 kB / 0.7971 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005722/0.6993, allocations: 2.879 MB / 0.8 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006116/0.7, allocations: 274.3 kB / 0.8002 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000396/0.7004, allocations: 39.94 kB / 0.8003 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.7018, allocations: 87.78 kB / 0.8003 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002945/0.7021, allocations: 136.6 kB / 0.8005 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/0.7023, allocations: 67.95 kB / 0.8005 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001427/0.7037, allocations: 0.9093 MB / 0.8014 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7037, allocations: 0 / 0.8014 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00278/0.7065, allocations: 0.7725 MB / 0.8022 GB, free: 4.969 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 13 (volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,flowResistance.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex3.M,volumeFlex3.U_med,flowResistance1.inlet.m_flow,pCV2.inlet.m_flow,pCV3.inlet.m_flow,pCV4.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 (140): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * 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): 4 systems {(2,3), (2,3), (2,3), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001485/0.708, allocations: 0.7503 MB / 0.8029 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003778/0.7118, allocations: 1.991 MB / 0.8049 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.7119, allocations: 0 / 0.8049 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002715/0.7146, allocations: 1.435 MB / 0.8063 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00357/0.7182, allocations: 0.5639 MB / 0.8068 GB, free: 100 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007487/0.7257, allocations: 4.568 MB / 0.8113 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.7268, allocations: 1.336 MB / 0.8126 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001748/0.7285, allocations: 354.3 kB / 0.8129 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005685/0.7291, allocations: 167.4 kB / 0.8131 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of SimCode: time 8.31e-07/0.7291, allocations: 3.938 kB / 0.8131 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of Templates: time 0.2628/0.9919, allocations: 35.29 MB / 0.8475 GB, free: 225 MB / 0.6231 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.PCV_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches