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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 108.3 kB / 17.96 MB, free: 4.039 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.002024/0.002024, allocations: 200.4 kB / 21.22 MB, free: 0.793 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.894/1.894, allocations: 225.6 MB / 249.9 MB, free: 13.35 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 1.045/1.045, allocations: 94.6 MB / 399.7 MB, free: 15.81 MB / 318.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_dev_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002564/0.002564, allocations: 84.33 kB / 0.5453 GB, free: 42.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2051, allocations: 71.86 MB / 0.6154 GB, free: 9.066 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.8481/1.053, allocations: 190.7 MB / 0.8017 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02708/1.08, allocations: 17.96 MB / 0.8192 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004996/1.085, allocations: 68.16 kB / 0.8193 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004714/1.09, allocations: 1.003 MB / 0.8203 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01114/1.101, allocations: 2.417 MB / 0.8226 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007568/1.109, allocations: 1.836 MB / 0.8244 GB, free: 48 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008155/1.117, allocations: 3.633 MB / 0.828 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/1.118, allocations: 276.2 kB / 0.8282 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005373/1.123, allocations: 1.601 MB / 0.8298 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00398/1.127, allocations: 1.596 MB / 0.8313 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008881/1.128, allocations: 168.8 kB / 0.8315 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00981/1.138, allocations: 2.602 MB / 0.834 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001574/1.14, allocations: 457.4 kB / 0.8345 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004611/1.144, allocations: 1.088 MB / 0.8355 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01173/1.156, allocations: 3.263 MB / 0.8387 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/1.156, allocations: 2.844 kB / 0.8387 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.144e-06/1.156, allocations: 0.75 kB / 0.8387 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.739e-05/1.156, allocations: 0 / 0.8387 GB, free: 10.16 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.007651/1.164, allocations: 2.7 MB / 0.8414 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.901e-05/1.164, allocations: 12.41 kB / 0.8414 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002714/1.164, allocations: 212.1 kB / 0.8416 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008117/1.165, allocations: 267.1 kB / 0.8418 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003321/1.168, allocations: 1.345 MB / 0.8432 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/1.168, allocations: 110.2 kB / 0.8433 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002881/1.169, allocations: 159.3 kB / 0.8434 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003549/1.172, allocations: 1.632 MB / 0.845 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/1.172, allocations: 4 kB / 0.845 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002875/1.172, allocations: 64 kB / 0.8451 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/1.172, allocations: 35.41 kB / 0.8451 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002951/1.175, allocations: 1.481 MB / 0.8466 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/1.188, allocations: 7.167 MB / 0.8536 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003436/1.191, allocations: 1.416 MB / 0.8549 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/1.192, allocations: 0.6773 MB / 0.8556 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008312/1.201, allocations: 5.951 MB / 0.8614 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.664e-05/1.201, allocations: 66.34 kB / 0.8615 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=166): time 3.586e-06/1.201, allocations: 3.938 kB / 0.8615 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166): time 0.007686/1.208, allocations: 3.141 MB / 0.8645 GB, free: 308 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002302/1.209, allocations: 183.1 kB / 0.8647 GB, free: 88 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/1.211, allocations: 1.303 MB / 0.866 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001556/1.211, allocations: 60.23 kB / 0.866 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007286/1.212, allocations: 0.7934 MB / 0.8668 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005656/1.212, allocations: 0.6045 MB / 0.8674 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005978/1.213, allocations: 291.5 kB / 0.8677 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.213, allocations: 301.1 kB / 0.868 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/1.214, allocations: 0.492 MB / 0.8685 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/1.216, allocations: 0.8276 MB / 0.8693 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/1.218, allocations: 1.431 MB / 0.8707 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.956e-06/1.218, allocations: 4 kB / 0.8707 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004005/1.222, allocations: 1.868 MB / 0.8725 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/1.222, allocations: 8 kB / 0.8725 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/1.222, allocations: 8 kB / 0.8725 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009606/1.223, allocations: 231.5 kB / 0.8727 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/1.225, allocations: 391.4 kB / 0.8731 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007459/1.232, allocations: 7.683 MB / 0.8806 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/1.234, allocations: 158.8 kB / 0.8808 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/1.234, allocations: 75.98 kB / 0.8808 GB, free: 14.76 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.0009217/1.235, allocations: 332.6 kB / 0.8811 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008353/1.236, allocations: 202.8 kB / 0.8813 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004783/1.24, allocations: 2.056 MB / 0.8833 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/1.24, allocations: 16.19 kB / 0.8834 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.24, allocations: 4 kB / 0.8834 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.24, allocations: 11.95 kB / 0.8834 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008139/1.249, allocations: 3.947 MB / 0.8872 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/1.249, allocations: 0 / 0.8872 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/1.25, allocations: 260.8 kB / 0.8875 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002154/1.252, allocations: 469.8 kB / 0.8879 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/1.252, allocations: 62.5 kB / 0.888 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009603/1.262, allocations: 9.962 MB / 0.8977 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.057e-05/1.262, allocations: 7.938 kB / 0.8977 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006283/1.268, allocations: 2.876 MB / 0.9005 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.269, allocations: 291.4 kB / 0.9008 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/1.269, allocations: 40.19 kB / 0.9008 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/1.27, allocations: 55.97 kB / 0.9009 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003134/1.271, allocations: 137.8 kB / 0.901 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002615/1.271, allocations: 71.95 kB / 0.9011 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001616/1.273, allocations: 0.9015 MB / 0.902 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.71e-07/1.273, allocations: 0 / 0.902 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00327/1.276, allocations: 0.7873 MB / 0.9027 GB, free: 7.422 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.008015/1.284, allocations: 4.084 MB / 0.9067 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004184/1.288, allocations: 1.912 MB / 0.9086 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/1.288, allocations: 8 kB / 0.9086 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003073/1.291, allocations: 1.381 MB / 0.91 GB, free: 15.98 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003626/1.295, allocations: 0.6073 MB / 0.9106 GB, free: 15.39 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02758/1.322, allocations: 14.44 MB / 0.9247 GB, free: 0.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001435/1.324, allocations: 1.336 MB / 0.926 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001821/1.326, allocations: 350.3 kB / 0.9263 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/1.327, allocations: 0.7843 MB / 0.9271 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of SimCode: time 1.472e-06/1.327, allocations: 0 / 0.9271 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1461/1.473, allocations: 55.01 MB / 0.9808 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.26/21.74, allocations: 15.84 kB / 0.9808 GB, free: 7.422 MB / 0.7325 GB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_PCV_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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_dev_ThermofluidStream.FlowControl.Tests.PCV_res.mat. Warning: Get data of variable volumeFlex2.m_flow_out from file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 27.03834096994251]