Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.00148/0.00148, allocations: 109.5 kB / 16.46 MB, free: 6.504 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.001533/0.001533, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.37/1.37, 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.7345/0.7345, allocations: 94.59 MB / 397.3 MB, free: 312 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.BasicControlValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 84.14 kB / 0.5416 GB, free: 42.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.114, allocations: 71.85 MB / 0.6118 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.05948/0.1735, allocations: 53.7 MB / 0.6642 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02631/0.1998, allocations: 21.68 MB / 0.6854 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.2013, allocations: 67.56 kB / 0.6854 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.204, allocations: 0.9041 MB / 0.6863 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004612/0.2086, allocations: 1.731 MB / 0.688 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.2124, allocations: 1.331 MB / 0.6893 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003589/0.216, allocations: 2.571 MB / 0.6918 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006912/0.2166, allocations: 318.2 kB / 0.6921 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.2185, allocations: 1.077 MB / 0.6932 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.2197, allocations: 0.9561 MB / 0.6941 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003738/0.22, allocations: 128 kB / 0.6942 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00348/0.2235, allocations: 1.268 MB / 0.6955 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005374/0.2241, allocations: 342.3 kB / 0.6958 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000955/0.225, allocations: 0.9127 MB / 0.6967 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00425/0.2293, allocations: 2.692 MB / 0.6993 GB, free: 92 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2293, allocations: 0 / 0.6993 GB, free: 92 kB / 0.5294 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2293, allocations: 0 / 0.6993 GB, free: 92 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.2293, allocations: 0 / 0.6993 GB, free: 92 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.004387/0.2337, allocations: 2.413 MB / 0.7017 GB, free: 13.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.2337, allocations: 16.02 kB / 0.7017 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001898/0.2339, allocations: 169.2 kB / 0.7019 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003359/0.2342, allocations: 226.5 kB / 0.7021 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.2366, allocations: 1.298 MB / 0.7033 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.2368, allocations: 94.22 kB / 0.7034 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.2369, allocations: 120 kB / 0.7035 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.239, allocations: 1.198 MB / 0.7047 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.239, allocations: 7.938 kB / 0.7047 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.47e-05/0.2391, allocations: 44 kB / 0.7048 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/0.2391, allocations: 28 kB / 0.7048 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.2412, allocations: 1.145 MB / 0.7059 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006917/0.2481, allocations: 5.013 MB / 0.7108 GB, free: 3.699 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.2496, allocations: 0.8242 MB / 0.7116 GB, free: 2.867 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007629/0.2503, allocations: 426.3 kB / 0.712 GB, free: 2.445 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005802/0.2561, allocations: 5.158 MB / 0.7171 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.2562, allocations: 43.56 kB / 0.7171 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=103): time 2.184e-06/0.2562, allocations: 0 / 0.7171 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.003747/0.2599, allocations: 1.727 MB / 0.7188 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.26, allocations: 64.41 kB / 0.7188 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/0.2617, allocations: 1.276 MB / 0.7201 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.118e-05/0.2617, allocations: 41.7 kB / 0.7201 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007862/0.2625, allocations: 0.7699 MB / 0.7209 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/0.2628, allocations: 372.8 kB / 0.7212 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.2631, allocations: 174.6 kB / 0.7214 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.2633, allocations: 349.9 kB / 0.7217 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/0.2638, allocations: 293.9 kB / 0.722 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008176/0.2646, allocations: 445.9 kB / 0.7224 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.2661, allocations: 0.7698 MB / 0.7232 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2661, allocations: 0 / 0.7232 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002295/0.2684, allocations: 1.143 MB / 0.7243 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.2684, allocations: 4 kB / 0.7243 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.2684, allocations: 4.281 kB / 0.7243 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005492/0.2689, allocations: 174.4 kB / 0.7245 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000733/0.2697, allocations: 191.8 kB / 0.7247 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004754/0.2744, allocations: 4.814 MB / 0.7294 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006773/0.2751, allocations: 99.31 kB / 0.7295 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-05/0.2752, allocations: 39.98 kB / 0.7295 GB, free: 15.04 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004394/0.2756, allocations: 277.6 kB / 0.7298 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/0.2759, allocations: 170.9 kB / 0.7299 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003051/0.2789, allocations: 1.641 MB / 0.7315 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.19e-05/0.2789, allocations: 11.94 kB / 0.7315 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.279, allocations: 11.98 kB / 0.7316 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.279, allocations: 7.922 kB / 0.7316 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00443/0.2834, allocations: 2.61 MB / 0.7341 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.2834, allocations: 4 kB / 0.7341 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/0.284, allocations: 167.7 kB / 0.7343 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005454/0.2845, allocations: 170.5 kB / 0.7344 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.433e-05/0.2846, allocations: 35.97 kB / 0.7345 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004721/0.2893, allocations: 4.825 MB / 0.7392 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2893, allocations: 8.094 kB / 0.7392 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/0.2922, allocations: 1.623 MB / 0.7408 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005482/0.2927, allocations: 351.6 kB / 0.7411 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.2928, allocations: 24 kB / 0.7411 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006807/0.2935, allocations: 31.92 kB / 0.7412 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.2937, allocations: 80.89 kB / 0.7412 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.858e-05/0.2937, allocations: 39.97 kB / 0.7413 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001215/0.295, allocations: 0.9093 MB / 0.7422 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.295, allocations: 0 / 0.7422 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001566/0.2965, allocations: 0.5961 MB / 0.7428 GB, free: 0.8555 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.262/0.5586, allocations: 2.801 MB / 0.7455 GB, free: 125.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001883/0.5604, allocations: 1.148 MB / 0.7466 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5604, allocations: 0 / 0.7466 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009084/0.5614, allocations: 0.7884 MB / 0.7474 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.5636, allocations: 0.5209 MB / 0.7479 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.5792, allocations: 10.7 MB / 0.7583 GB, free: 120.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/0.5799, allocations: 1.266 MB / 0.7596 GB, free: 119.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008723/0.5808, allocations: 297.5 kB / 0.7599 GB, free: 119.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005864/0.5814, allocations: 0.7042 MB / 0.7605 GB, free: 119.1 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/0.5814, allocations: 4 kB / 0.7606 GB, free: 119.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07957/0.661, allocations: 45.79 MB / 0.8053 GB, free: 79.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.29, allocations: 8.047 kB / 0.8053 GB, free: 79.27 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_BasicControlValve_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_BasicControlValve.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.73100656690076]