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.001865/0.001865, 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.002345/0.002345, allocations: 211.6 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.734 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.237/3.237, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.002093/0.002093, allocations: 65.97 kB / 1.153 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.367, allocations: 176.1 MB / 1.325 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003788/0.3707, allocations: 1.666 MB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003069/0.3738, allocations: 1.664 MB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.602e-05/0.3739, allocations: 4 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004675/0.3744, allocations: 55.69 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.3747, allocations: 103.5 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.3749, allocations: 71.73 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.3752, allocations: 183.5 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.794e-05/0.3753, allocations: 7.984 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.3754, allocations: 71.77 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.3756, allocations: 69.61 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.3756, allocations: 12 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.3758, allocations: 111.9 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.434e-05/0.3759, allocations: 47.84 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.942e-05/0.376, allocations: 51.72 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.3765, allocations: 255.2 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3765, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3765, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.3765, allocations: 0 / 1.329 GB, free: 13.98 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.0007815/0.3773, allocations: 421 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3773, allocations: 12.03 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.947e-05/0.3774, allocations: 42.73 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.3774, allocations: 16.84 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.3779, allocations: 191.1 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.3779, allocations: 8.375 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.3779, allocations: 7.938 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.3782, allocations: 157 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3782, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.3782, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3782, allocations: 4 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003435/0.3786, allocations: 187.8 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.3789, allocations: 208.6 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005145/0.3794, allocations: 198.3 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.3795, allocations: 56.83 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.3796, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002589/0.3798, allocations: 127.3 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.3798, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006/0.3804, allocations: 261.3 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.3805, allocations: 77.11 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.3808, allocations: 254.9 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.3808, allocations: 37.69 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/0.3809, allocations: 116.2 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.228e-05/0.381, allocations: 55.55 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.381, allocations: 33.7 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3812, allocations: 322.8 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.3813, allocations: 59.97 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.3815, allocations: 115.2 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.3818, allocations: 149.6 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.3818, allocations: 7.938 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004035/0.3822, allocations: 209.4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3822, allocations: 9.562 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3822, allocations: 0 / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3822, allocations: 0 / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.3824, allocations: 39.91 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3824, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.262e-05/0.3825, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.3825, allocations: 12.03 kB / 1.333 GB, free: 10.42 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.0001503/0.3826, allocations: 143.1 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.3827, allocations: 19.86 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005393/0.3832, allocations: 282.9 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3832, allocations: 4 kB / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3832, allocations: 0 / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.3832, allocations: 3.984 kB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.3835, allocations: 224.6 kB / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3835, allocations: 0 / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.3836, allocations: 39.92 kB / 1.333 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3837, allocations: 0 / 1.333 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.3837, allocations: 8 kB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3837, allocations: 3.938 kB / 1.333 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3837, allocations: 0 / 1.333 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.3841, allocations: 275 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.3842, allocations: 31.78 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.3842, allocations: 8 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.373e-05/0.3843, allocations: 8 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.3843, allocations: 11.97 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.3844, allocations: 8 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002136/0.3846, allocations: 204.3 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3846, allocations: 0 / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002989/0.3849, allocations: 59.86 kB / 1.334 GB, free: 9.027 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.002628/0.3875, allocations: 1.257 MB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000352/0.3878, allocations: 151.9 kB / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3879, allocations: 0 / 1.335 GB, free: 7.816 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.388, allocations: 91.77 kB / 1.335 GB, free: 7.727 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.3883, allocations: 40.3 kB / 1.335 GB, free: 7.691 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.3911, allocations: 2.111 MB / 1.337 GB, free: 5.504 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.3912, allocations: 123.8 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001302/0.3914, allocations: 49.44 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.3915, allocations: 75.39 kB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.3915, allocations: 4 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0415/0.433, allocations: 6.36 MB / 1.344 GB, free: 14.95 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.14, allocations: 7.562 kB / 1.344 GB, free: 14.94 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: 19.099877152126282]