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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 109 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 196.6 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.9182/0.9182, allocations: 94.59 MB / 397.3 MB, free: 296 kB / 302.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002487/0.002487, allocations: 88.11 kB / 0.5416 GB, free: 42.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1654, allocations: 71.85 MB / 0.6118 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.6715/0.8369, allocations: 190.1 MB / 0.7974 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0231/0.86, allocations: 17.89 MB / 0.8149 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003741/0.8637, allocations: 69.06 kB / 0.8149 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004003/0.8677, allocations: 1 MB / 0.8159 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.8783, allocations: 2.405 MB / 0.8183 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006848/0.8851, allocations: 1.839 MB / 0.8201 GB, free: 428 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007298/0.8924, allocations: 3.629 MB / 0.8236 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.8935, allocations: 275.2 kB / 0.8239 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004727/0.8982, allocations: 1.6 MB / 0.8254 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004431/0.9026, allocations: 1.593 MB / 0.827 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001256/0.9039, allocations: 166.2 kB / 0.8271 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008859/0.9127, allocations: 2.611 MB / 0.8297 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001115/0.9138, allocations: 454.2 kB / 0.8301 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003119/0.917, allocations: 1.09 MB / 0.8312 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009978/0.9269, allocations: 3.269 MB / 0.8344 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.927, allocations: 0.7812 kB / 0.8344 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.214e-06/0.927, allocations: 0 / 0.8344 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.00013/0.9271, allocations: 0.9062 kB / 0.8344 GB, free: 10.83 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.007262/0.9343, allocations: 2.701 MB / 0.837 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.9344, allocations: 12.09 kB / 0.837 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003403/0.9347, allocations: 211.4 kB / 0.8372 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008454/0.9356, allocations: 264.2 kB / 0.8375 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/0.9389, allocations: 1.336 MB / 0.8388 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.939, allocations: 110.2 kB / 0.8389 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002845/0.9393, allocations: 166.8 kB / 0.8391 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003403/0.9427, allocations: 1.628 MB / 0.8406 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.955e-05/0.9427, allocations: 0 / 0.8406 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.9429, allocations: 66.83 kB / 0.8407 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.324e-05/0.9429, allocations: 34.72 kB / 0.8407 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002937/0.9459, allocations: 1.485 MB / 0.8422 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01239/0.9582, allocations: 7.164 MB / 0.8492 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003334/0.9616, allocations: 1.427 MB / 0.8506 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/0.9629, allocations: 0.6651 MB / 0.8512 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009694/0.9726, allocations: 5.962 MB / 0.8571 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.597e-05/0.9726, allocations: 59.81 kB / 0.8571 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=166): time 3.617e-06/0.9726, allocations: 4 kB / 0.8571 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166): time 0.007909/0.9806, allocations: 3.142 MB / 0.8602 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.9807, allocations: 171.1 kB / 0.8604 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.9829, allocations: 1.315 MB / 0.8616 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001481/0.9831, allocations: 57.7 kB / 0.8617 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008373/0.9839, allocations: 0.7976 MB / 0.8625 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005406/0.9844, allocations: 0.6003 MB / 0.8631 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004413/0.9849, allocations: 295.5 kB / 0.8633 GB, free: 14 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.985, allocations: 305.1 kB / 0.8636 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.9862, allocations: 499.8 kB / 0.8641 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.9876, allocations: 0.8237 MB / 0.8649 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002649/0.9902, allocations: 1.438 MB / 0.8663 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.9902, allocations: 0 / 0.8663 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004295/0.9945, allocations: 1.867 MB / 0.8681 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.9946, allocations: 12 kB / 0.8681 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.9946, allocations: 8.703 kB / 0.8682 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.9956, allocations: 223.1 kB / 0.8684 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/0.9971, allocations: 382.7 kB / 0.8687 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007945/1.005, allocations: 7.676 MB / 0.8762 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/1.007, allocations: 173.2 kB / 0.8764 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002923/1.007, allocations: 80.91 kB / 0.8765 GB, free: 15.73 MB / 0.6387 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.001088/1.008, allocations: 328.8 kB / 0.8768 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007367/1.009, allocations: 202.7 kB / 0.877 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004996/1.014, allocations: 2.057 MB / 0.879 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/1.014, allocations: 20 kB / 0.879 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.188e-05/1.014, allocations: 8 kB / 0.879 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/1.014, allocations: 7.969 kB / 0.879 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00858/1.023, allocations: 3.942 MB / 0.8829 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/1.023, allocations: 4 kB / 0.8829 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/1.024, allocations: 252.6 kB / 0.8831 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/1.026, allocations: 478 kB / 0.8836 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/1.026, allocations: 55.97 kB / 0.8836 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009513/1.035, allocations: 9.97 MB / 0.8934 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/1.035, allocations: 6.469 kB / 0.8934 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006393/1.042, allocations: 2.869 MB / 0.8962 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008412/1.043, allocations: 287.3 kB / 0.8964 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004512/1.043, allocations: 51.92 kB / 0.8965 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/1.045, allocations: 51.97 kB / 0.8965 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004448/1.045, allocations: 129.8 kB / 0.8967 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/1.045, allocations: 71.95 kB / 0.8967 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001541/1.047, allocations: 0.9054 MB / 0.8976 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/1.047, allocations: 0 / 0.8976 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002793/1.049, allocations: 0.7873 MB / 0.8984 GB, free: 8.395 MB / 0.6544 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.007252/1.057, allocations: 4.084 MB / 0.9024 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003968/1.061, allocations: 1.922 MB / 0.9043 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.061, allocations: 4 kB / 0.9043 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002837/1.064, allocations: 1.375 MB / 0.9056 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003821/1.067, allocations: 0.6046 MB / 0.9062 GB, free: 376 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02865/1.096, allocations: 14.45 MB / 0.9203 GB, free: 1.48 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/1.098, allocations: 1.336 MB / 0.9216 GB, free: 120 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001891/1.099, allocations: 350.4 kB / 0.9219 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/1.101, allocations: 0.7804 MB / 0.9227 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of SimCode: time 1.122e-06/1.101, allocations: 0 / 0.9227 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1311/1.232, allocations: 54.83 MB / 0.9762 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.04/19.27, allocations: 6.531 kB / 0.9763 GB, free: 8.594 MB / 0.7325 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) [Timeout 1260.0] 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_2/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable volumeFlex2.m_flow_out in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.mat. Warning: Get data of variable volumeFlex2.m_flow_out from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.773791247047484]