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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.006053/0.006053, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.148/1.148, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.519/0.519, allocations: 89.64 MB / 381.1 MB, free: 11.34 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.000318/0.0003181, allocations: 7.562 kB / 460.7 MB, free: 24.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1008, allocations: 68.84 MB / 0.5172 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.3704/0.4712, allocations: 185.3 MB / 0.6981 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01965/0.4909, allocations: 17.76 MB / 0.7155 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.4928, allocations: 31.81 kB / 0.7155 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.4951, allocations: 0.8589 MB / 0.7163 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005299/0.5004, allocations: 2.122 MB / 0.7184 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004043/0.5045, allocations: 1.627 MB / 0.72 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004598/0.5091, allocations: 4.338 MB / 0.7242 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006219/0.5097, allocations: 402.3 kB / 0.7246 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002312/0.5121, allocations: 1.276 MB / 0.7259 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.5142, allocations: 1.471 MB / 0.7273 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003293/0.5146, allocations: 80 kB / 0.7274 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004905/0.5195, allocations: 2.522 MB / 0.7298 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004075/0.5199, allocations: 346.2 kB / 0.7302 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.5211, allocations: 0.9576 MB / 0.7311 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00394/0.525, allocations: 2.901 MB / 0.7339 GB, free: 12.76 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.525, allocations: 0 / 0.7339 GB, free: 12.76 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.525, allocations: 3.938 kB / 0.7339 GB, free: 12.76 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.5251, allocations: 4 kB / 0.7339 GB, free: 12.75 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.003412/0.5285, allocations: 2.071 MB / 0.736 GB, free: 10.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.5285, allocations: 15.97 kB / 0.736 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002268/0.5287, allocations: 211.3 kB / 0.7362 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004808/0.5292, allocations: 230.4 kB / 0.7364 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.5304, allocations: 0.953 MB / 0.7373 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.348e-05/0.5305, allocations: 111.2 kB / 0.7374 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.5307, allocations: 152.5 kB / 0.7376 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.5332, allocations: 1.647 MB / 0.7392 GB, free: 7.199 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.5332, allocations: 3.938 kB / 0.7392 GB, free: 7.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.5333, allocations: 60 kB / 0.7392 GB, free: 7.137 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.5334, allocations: 40 kB / 0.7393 GB, free: 7.098 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.5357, allocations: 1.5 MB / 0.7407 GB, free: 5.602 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00759/0.5433, allocations: 7.147 MB / 0.7477 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.5458, allocations: 1.561 MB / 0.7493 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.5469, allocations: 0.7535 MB / 0.75 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005189/0.5521, allocations: 5.966 MB / 0.7558 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.5521, allocations: 63.73 kB / 0.7559 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=166): time 3.717e-06/0.5521, allocations: 3.984 kB / 0.7559 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=166): time 0.005784/0.5579, allocations: 3.159 MB / 0.759 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.558, allocations: 171.1 kB / 0.7591 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.5592, allocations: 1.098 MB / 0.7602 GB, free: 28 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.5593, allocations: 57.7 kB / 0.7603 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/0.5597, allocations: 0.6849 MB / 0.7609 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003566/0.5601, allocations: 0.5659 MB / 0.7615 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.5603, allocations: 137.6 kB / 0.7616 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.74e-05/0.5604, allocations: 305.1 kB / 0.7619 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008813/0.5612, allocations: 0.4998 MB / 0.7624 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.5623, allocations: 0.8329 MB / 0.7632 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002065/0.5644, allocations: 1.464 MB / 0.7646 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.5644, allocations: 4 kB / 0.7646 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.002986/0.5674, allocations: 1.857 MB / 0.7664 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.5674, allocations: 8 kB / 0.7665 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.5675, allocations: 8 kB / 0.7665 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006484/0.5681, allocations: 224.8 kB / 0.7667 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.5694, allocations: 391.5 kB / 0.767 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004913/0.5743, allocations: 7.13 MB / 0.774 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009348/0.5753, allocations: 186.4 kB / 0.7742 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.5754, allocations: 75.92 kB / 0.7743 GB, free: 0.6367 MB / 0.5762 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.0004801/0.5759, allocations: 332.5 kB / 0.7746 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.5762, allocations: 174 kB / 0.7747 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003667/0.5799, allocations: 2.079 MB / 0.7768 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.5799, allocations: 16 kB / 0.7768 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.5799, allocations: 8 kB / 0.7768 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.5799, allocations: 7.969 kB / 0.7768 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005577/0.5855, allocations: 3.896 MB / 0.7806 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.5855, allocations: 4 kB / 0.7806 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009452/0.5865, allocations: 255.7 kB / 0.7809 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001592/0.5881, allocations: 487.3 kB / 0.7813 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-05/0.5882, allocations: 51.97 kB / 0.7814 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006075/0.5943, allocations: 9.425 MB / 0.7906 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.5943, allocations: 4 kB / 0.7906 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00415/0.5984, allocations: 2.897 MB / 0.7934 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.5987, allocations: 262.6 kB / 0.7937 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.5989, allocations: 39.98 kB / 0.7937 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.6, allocations: 92.05 kB / 0.7938 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/0.6002, allocations: 136.6 kB / 0.7939 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.6003, allocations: 71.95 kB / 0.794 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008837/0.6012, allocations: 0.7678 MB / 0.7947 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6012, allocations: 4 kB / 0.7947 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001749/0.6029, allocations: 0.7647 MB / 0.7955 GB, free: 9.82 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.005322/0.6083, allocations: 4.114 MB / 0.7995 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00286/0.6111, allocations: 2.008 MB / 0.8015 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6112, allocations: 0 / 0.8015 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002118/0.6133, allocations: 1.443 MB / 0.8029 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002993/0.6163, allocations: 0.5507 MB / 0.8034 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2139/0.8302, allocations: 15.73 MB / 0.8188 GB, free: 216.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.8308, allocations: 1.269 MB / 0.82 GB, free: 215.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001173/0.832, allocations: 325.8 kB / 0.8203 GB, free: 215.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007131/0.8327, allocations: 0.6768 MB / 0.821 GB, free: 215.2 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.8327, allocations: 0 / 0.821 GB, free: 215.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.805/6.638, allocations: 49.18 MB / 0.869 GB, free: 183.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/6.638, allocations: 232.1 kB / 0.8692 GB, free: 182.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.868/9.506, allocations: 0 / 0.8692 GB, free: 182.9 MB / 0.6075 GB (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 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV.fmu > 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