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.001705/0.001705, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002077/0.002077, allocations: 211.5 kB / 22.24 MB, free: 5.262 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.801 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.877/2.877, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 176] 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.002125/0.002125, allocations: 68.8 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3482, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003673/0.3519, allocations: 1.668 MB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00284/0.3547, allocations: 1.669 MB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.613e-05/0.3548, allocations: 0 / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.3553, allocations: 59.69 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.3556, allocations: 95.59 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.3558, allocations: 79.61 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.356, allocations: 183.6 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.895e-05/0.3561, allocations: 0 / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3562, allocations: 71.75 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.3563, allocations: 63.75 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.3564, allocations: 12 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.3566, allocations: 119.9 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.486e-05/0.3567, allocations: 51.83 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.104e-05/0.3567, allocations: 47.73 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.3571, allocations: 248.8 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3571, allocations: 0 / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3571, allocations: 0 / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.3571, allocations: 0 / 1.287 GB, free: 8.094 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.0007253/0.3579, allocations: 425 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3579, allocations: 8.031 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.299e-05/0.358, allocations: 42.73 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.71e-05/0.358, allocations: 20.8 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.3584, allocations: 191.2 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.3585, allocations: 4.375 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.3585, allocations: 7.938 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.3588, allocations: 160.9 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3588, allocations: 0 / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.3588, allocations: 8 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.3588, allocations: 0 / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.3591, allocations: 187.8 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002869/0.3594, allocations: 196.6 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.3599, allocations: 206.4 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.3601, allocations: 60.83 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.3601, allocations: 0 / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.3603, allocations: 116.2 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3603, allocations: 0 / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005766/0.3609, allocations: 262.7 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.361, allocations: 81.11 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.3613, allocations: 255 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.3613, allocations: 29.69 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.395e-05/0.3614, allocations: 120.1 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.217e-05/0.3615, allocations: 47.75 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.3615, allocations: 41.58 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3617, allocations: 330.8 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.3618, allocations: 59.91 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.362, allocations: 108.2 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.3622, allocations: 149.2 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3622, allocations: 3.938 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003882/0.3626, allocations: 225.5 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3626, allocations: 4 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3626, allocations: 0 / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3627, allocations: 0 / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.3628, allocations: 31.92 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3628, allocations: 0 / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.337e-05/0.3629, allocations: 11.98 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.3629, allocations: 8 kB / 1.29 GB, free: 4.527 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.0001362/0.363, allocations: 137.8 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.3631, allocations: 19.86 kB / 1.29 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005417/0.3636, allocations: 294.8 kB / 1.291 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3636, allocations: 4 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3636, allocations: 0 / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3636, allocations: 3.984 kB / 1.291 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.3639, allocations: 224.5 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3639, allocations: 0 / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.364, allocations: 31.98 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.364, allocations: 0 / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.364, allocations: 11.94 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.364, allocations: 0 / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.364, allocations: 7.938 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.3645, allocations: 284 kB / 1.291 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.3645, allocations: 19.83 kB / 1.291 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.3645, allocations: 8 kB / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.132e-05/0.3646, allocations: 8 kB / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.3647, allocations: 11.97 kB / 1.291 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.3647, allocations: 12 kB / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002145/0.3649, allocations: 191.2 kB / 1.291 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3649, allocations: 0 / 1.291 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003067/0.3652, allocations: 63.81 kB / 1.291 GB, free: 3.145 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.002602/0.3678, allocations: 1.252 MB / 1.293 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003446/0.3682, allocations: 143.9 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3682, allocations: 0 / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.3683, allocations: 98.06 kB / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.3686, allocations: 35.91 kB / 1.293 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.3714, allocations: 2.122 MB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.3715, allocations: 132 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00013/0.3716, allocations: 49.39 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.3718, allocations: 67.41 kB / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.3718, allocations: 0 / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03834/0.4101, allocations: 6.355 MB / 1.301 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.06, allocations: 5.906 kB / 1.301 GB, free: 9.078 MB / 0.9981 GB " [Timeout remaining time 287] (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: 19.099258080124855]