Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002457/0.002457, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.23/3.23, allocations: 0.49 GB / 0.7951 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 63.45 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.408, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003543/0.4116, allocations: 1.678 MB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002941/0.4145, allocations: 1.749 MB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.4146, allocations: 3.938 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005088/0.4151, allocations: 51.75 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.4154, allocations: 103.5 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.4156, allocations: 67.73 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.4159, allocations: 183.6 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.465e-05/0.4159, allocations: 11.94 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.4161, allocations: 71.75 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.4163, allocations: 75.73 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.4163, allocations: 8 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.4166, allocations: 115.9 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.703e-05/0.4166, allocations: 55.75 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.044e-05/0.4167, allocations: 67.59 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.4171, allocations: 235.4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.4171, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4171, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.4171, allocations: 7.938 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000736/0.4179, allocations: 428.8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4179, allocations: 8.031 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.294e-05/0.418, allocations: 42.73 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.418, allocations: 16.84 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.4185, allocations: 195.2 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.4185, allocations: 4.359 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.4185, allocations: 11.94 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.4188, allocations: 127.2 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.4188, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.4188, allocations: 4 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.4188, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.4191, allocations: 143.8 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.4193, allocations: 204.6 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.4197, allocations: 166.5 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.4198, allocations: 52.77 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.4199, allocations: 4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.4201, allocations: 111.4 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.4201, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005211/0.4206, allocations: 219.4 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.4207, allocations: 81.11 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.421, allocations: 234.8 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.421, allocations: 25.7 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.4211, allocations: 116.2 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.4211, allocations: 51.61 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.4212, allocations: 33.7 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4214, allocations: 330.8 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.4215, allocations: 47.97 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.4216, allocations: 76.52 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.4218, allocations: 117.7 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.4218, allocations: 7.922 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000336/0.4221, allocations: 194.8 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.4222, allocations: 7.984 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.4222, allocations: 64 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4222, allocations: 8 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.4223, allocations: 31.92 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4223, allocations: 3.984 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.159e-05/0.4224, allocations: 7.938 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.4224, allocations: 11.94 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.4225, allocations: 137.8 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.4226, allocations: 19.86 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.423, allocations: 227 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.423, allocations: 0 / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4231, allocations: 0 / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4231, allocations: 0 / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.4233, allocations: 220.5 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4233, allocations: 0 / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.431e-05/0.4234, allocations: 16 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4234, allocations: 0 / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.4234, allocations: 7.984 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4234, allocations: 0 / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4234, allocations: 0 / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.4237, allocations: 217.7 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.4238, allocations: 19.84 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.4238, allocations: 4 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.226e-05/0.4239, allocations: 4 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.4239, allocations: 15.91 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.4239, allocations: 8 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001664/0.4241, allocations: 168.2 kB / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4241, allocations: 4 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002856/0.4244, allocations: 51.86 kB / 1.334 GB, free: 8.98 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00239/0.4268, allocations: 1.164 MB / 1.335 GB, free: 7.984 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003126/0.4271, allocations: 112 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4271, allocations: 0 / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.4272, allocations: 63.97 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.4276, allocations: 37.59 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.4301, allocations: 1.975 MB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.4305, allocations: 0.7319 MB / 1.338 GB, free: 4.965 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.4306, allocations: 53.58 kB / 1.338 GB, free: 4.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.4307, allocations: 67.34 kB / 1.338 GB, free: 4.844 MB / 1.029 GB Notification: Performance of SimCode: time 6.81e-07/0.4307, allocations: 0 / 1.338 GB, free: 4.844 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04268/0.4734, allocations: 5.379 MB / 1.344 GB, free: 15.54 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.36, allocations: 8 kB / 1.344 GB, free: 15.54 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900 Buildings_12_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.37316037200071]