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.00142/0.00142, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001765/0.001765, allocations: 219 kB / 22.25 MB, free: 5.258 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 7.781 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.203/3.203, allocations: 0.49 GB / 0.7951 GB, free: 35.47 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.00206/0.00206, allocations: 63.59 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3573, allocations: 176.1 MB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003161/0.3605, allocations: 1.662 MB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.3631, allocations: 1.678 MB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.043e-05/0.3632, allocations: 3.938 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000457/0.3636, allocations: 51.77 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.3639, allocations: 99.53 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.3641, allocations: 75.73 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.3644, allocations: 191.5 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.3644, allocations: 4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.795e-05/0.3645, allocations: 67.77 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.3647, allocations: 75.67 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.3647, allocations: 12 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.3649, allocations: 115.9 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.53e-05/0.365, allocations: 47.89 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.533e-05/0.3651, allocations: 55.59 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.3655, allocations: 247.4 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3655, allocations: 0 / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3655, allocations: 0 / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3655, allocations: 0 / 1.33 GB, free: 13.1 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.0006981/0.3662, allocations: 425 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3662, allocations: 12.03 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.357e-05/0.3662, allocations: 34.75 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.3663, allocations: 20.78 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.3667, allocations: 195.2 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3667, allocations: 384 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.3667, allocations: 11.94 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.367, allocations: 149 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.367, allocations: 4 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.367, allocations: 4 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.3671, allocations: 7.922 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003277/0.3674, allocations: 191.7 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.3677, allocations: 204.6 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.3682, allocations: 198.3 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.3683, allocations: 56.83 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.3683, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.3685, allocations: 133.9 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 3.967e-06/0.3685, allocations: 4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005726/0.3691, allocations: 249.5 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.3692, allocations: 85.05 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.3695, allocations: 258.9 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.3695, allocations: 29.7 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.018e-05/0.3696, allocations: 116.1 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.568e-05/0.3696, allocations: 47.61 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.3697, allocations: 33.7 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3698, allocations: 334.8 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.3699, allocations: 55.97 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.3701, allocations: 120.2 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.3703, allocations: 145.7 kB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3703, allocations: 3.938 kB / 1.333 GB, free: 9.805 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003776/0.3707, allocations: 220.7 kB / 1.333 GB, free: 9.586 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3707, allocations: 4 kB / 1.333 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3707, allocations: 0 / 1.333 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3708, allocations: 4 kB / 1.333 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3709, allocations: 23.98 kB / 1.333 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3709, allocations: 0 / 1.333 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.596e-05/0.371, allocations: 12.06 kB / 1.333 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.371, allocations: 7.984 kB / 1.333 GB, free: 9.535 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.0001364/0.3711, allocations: 147.4 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.3711, allocations: 19.86 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000523/0.3717, allocations: 279.8 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3717, allocations: 4 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3717, allocations: 0 / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3717, allocations: 0 / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.3719, allocations: 224.6 kB / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3719, allocations: 4 kB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.3721, allocations: 39.92 kB / 1.334 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.3721, allocations: 0 / 1.334 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.3721, allocations: 7.984 kB / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3721, allocations: 0 / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3721, allocations: 0 / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/0.3725, allocations: 287.7 kB / 1.334 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.3726, allocations: 27.8 kB / 1.334 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.3726, allocations: 4 kB / 1.334 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.521e-05/0.3727, allocations: 11.92 kB / 1.334 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.3727, allocations: 23.97 kB / 1.334 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.3728, allocations: 4 kB / 1.334 GB, free: 8.391 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000202/0.373, allocations: 196.4 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.373, allocations: 0 / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000294/0.3733, allocations: 59.88 kB / 1.335 GB, free: 8.141 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 (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.002551/0.3758, allocations: 1.253 MB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003607/0.3762, allocations: 157.9 kB / 1.336 GB, free: 6.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3762, allocations: 0 / 1.336 GB, free: 6.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.3763, allocations: 87.84 kB / 1.336 GB, free: 6.844 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.3767, allocations: 51.02 kB / 1.336 GB, free: 6.797 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.3793, allocations: 2.098 MB / 1.338 GB, free: 4.621 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.3794, allocations: 123.8 kB / 1.338 GB, free: 4.473 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.3795, allocations: 53.42 kB / 1.338 GB, free: 4.422 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.3797, allocations: 71.41 kB / 1.338 GB, free: 4.352 MB / 1.029 GB Notification: Performance of SimCode: time 9.32e-07/0.3797, allocations: 0 / 1.338 GB, free: 4.352 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/0.4157, allocations: 6.435 MB / 1.345 GB, free: 13.99 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.79, allocations: 1.375 kB / 1.345 GB, free: 13.99 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.76033714899677]