Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001397/0.001397, allocations: 106.8 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.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.001483/0.001483, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.454/1.454, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.811/2.811, allocations: 476.7 MB / 0.7672 GB, free: 5.383 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_11_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.002062/0.002062, allocations: 71.89 kB / 1.112 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8133/0.8154, allocations: 169.9 MB / 1.278 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003228/0.8186, allocations: 1.686 MB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002664/0.8213, allocations: 1.641 MB / 1.282 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.44e-05/0.8213, allocations: 3.938 kB / 1.282 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000442/0.8218, allocations: 47.77 kB / 1.282 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.8221, allocations: 103.5 kB / 1.282 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.8222, allocations: 71.73 kB / 1.282 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.8225, allocations: 175.6 kB / 1.282 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.8225, allocations: 7.984 kB / 1.282 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.8226, allocations: 67.72 kB / 1.282 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.8228, allocations: 75.72 kB / 1.282 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.8229, allocations: 12 kB / 1.282 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.8231, allocations: 111.9 kB / 1.282 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.649e-05/0.8231, allocations: 51.78 kB / 1.282 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.852e-05/0.8232, allocations: 63.59 kB / 1.282 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004019/0.8236, allocations: 252.9 kB / 1.283 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8236, allocations: 0 / 1.283 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8236, allocations: 0 / 1.283 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.8236, allocations: 0 / 1.283 GB, free: 9.09 MB / 0.9825 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.0007492/0.8244, allocations: 498 kB / 1.283 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.8244, allocations: 12.03 kB / 1.283 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.8245, allocations: 34.75 kB / 1.283 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.8245, allocations: 16.84 kB / 1.283 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.825, allocations: 269 kB / 1.283 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.825, allocations: 8.375 kB / 1.283 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.825, allocations: 11.94 kB / 1.283 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.8253, allocations: 115.3 kB / 1.283 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.8253, allocations: 3.938 kB / 1.283 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.8253, allocations: 0 / 1.283 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.8253, allocations: 0 / 1.283 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.8255, allocations: 143.9 kB / 1.284 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.8258, allocations: 237.5 kB / 1.284 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003888/0.8262, allocations: 166.5 kB / 1.284 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.8263, allocations: 52.81 kB / 1.284 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.8264, allocations: 15.92 kB / 1.284 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.8266, allocations: 103.4 kB / 1.284 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.8266, allocations: 4 kB / 1.284 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005123/0.8271, allocations: 221.5 kB / 1.284 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.8272, allocations: 85.05 kB / 1.284 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.8274, allocations: 219 kB / 1.285 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.8274, allocations: 29.7 kB / 1.285 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.363e-05/0.8275, allocations: 120.1 kB / 1.285 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.985e-05/0.8276, allocations: 47.64 kB / 1.285 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/0.8277, allocations: 33.7 kB / 1.285 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.8278, allocations: 330.8 kB / 1.285 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.8279, allocations: 47.97 kB / 1.285 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.8281, allocations: 70.66 kB / 1.285 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.8283, allocations: 127.6 kB / 1.285 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.8283, allocations: 3.938 kB / 1.285 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003535/0.8286, allocations: 197.5 kB / 1.286 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.8287, allocations: 8 kB / 1.286 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.8287, allocations: 0 / 1.286 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.8287, allocations: 0 / 1.286 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.8288, allocations: 23.98 kB / 1.286 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.8288, allocations: 7.938 kB / 1.286 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.8289, allocations: 15.89 kB / 1.286 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.8289, allocations: 4 kB / 1.286 GB, free: 5.605 MB / 0.9825 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.000135/0.829, allocations: 134.3 kB / 1.286 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.8291, allocations: 23.89 kB / 1.286 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.126e-05/0.8291, allocations: 33.5 kB / 1.286 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8291, allocations: 0 / 1.286 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8291, allocations: 0 / 1.286 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.8291, allocations: 3.984 kB / 1.286 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.8294, allocations: 241.5 kB / 1.286 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.8294, allocations: 4 kB / 1.286 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.762e-05/0.8295, allocations: 23.92 kB / 1.286 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.8295, allocations: 0 / 1.286 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.8295, allocations: 8 kB / 1.286 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.15e-05/0.8295, allocations: 7.984 kB / 1.286 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.8295, allocations: 0 / 1.286 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.8298, allocations: 202.4 kB / 1.286 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.933e-05/0.8299, allocations: 104.9 kB / 1.286 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.83, allocations: 4 kB / 1.286 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.231e-05/0.83, allocations: 4 kB / 1.286 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.83, allocations: 11.98 kB / 1.286 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.8301, allocations: 8 kB / 1.286 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001697/0.8302, allocations: 159.2 kB / 1.287 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8302, allocations: 4 kB / 1.287 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002828/0.8305, allocations: 55.8 kB / 1.287 GB, free: 4.492 MB / 0.9825 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.002398/0.8329, allocations: 1.149 MB / 1.288 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.8332, allocations: 119.3 kB / 1.288 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8332, allocations: 0 / 1.288 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.8333, allocations: 59.91 kB / 1.288 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.8336, allocations: 35.11 kB / 1.288 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.8362, allocations: 1.991 MB / 1.29 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.8365, allocations: 0.7242 MB / 1.291 GB, free: 488 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.8366, allocations: 45.5 kB / 1.291 GB, free: 440 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.8368, allocations: 63.41 kB / 1.291 GB, free: 376 kB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.8368, allocations: 0 / 1.291 GB, free: 376 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/0.8693, allocations: 5.226 MB / 1.296 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.667/9.536, allocations: 12.34 kB / 1.296 GB, free: 11.26 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.80176468892023]