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.001099/0.001099, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009468/0.0009468, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9136/0.9136, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.71/1.71, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.9505 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.982e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002238/0.002258, allocations: 1.658 MB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.003971, allocations: 1.674 MB / 0.9538 GB, free: 96 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.397e-05/0.004055, allocations: 0 / 0.9538 GB, free: 96 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0005579/0.004613, allocations: 63.61 kB / 0.9538 GB, free: 32 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.00486, allocations: 103.5 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.005, allocations: 63.69 kB / 0.954 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.005212, allocations: 187.5 kB / 0.9542 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.005256, allocations: 7.984 kB / 0.9542 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.005371, allocations: 79.81 kB / 0.9543 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.005487, allocations: 68.42 kB / 0.9543 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.005514, allocations: 15.98 kB / 0.9543 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.005681, allocations: 111.8 kB / 0.9544 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.814e-05/0.005769, allocations: 47.83 kB / 0.9545 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.008e-05/0.005829, allocations: 43.84 kB / 0.9545 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.006165, allocations: 259.2 kB / 0.9548 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006167, allocations: 0 / 0.9548 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.523e-06/0.006169, allocations: 0 / 0.9548 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.006175, allocations: 11.86 kB / 0.9548 GB, free: 15.05 MB / 0.9167 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.0005875/0.006763, allocations: 421 kB / 0.9552 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.006806, allocations: 12.03 kB / 0.9552 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.933e-05/0.006846, allocations: 42.69 kB / 0.9552 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.006894, allocations: 16.84 kB / 0.9553 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.007183, allocations: 198.3 kB / 0.9554 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.007197, allocations: 4.375 kB / 0.9555 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.007213, allocations: 8.375 kB / 0.9555 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.007445, allocations: 157.3 kB / 0.9556 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.007453, allocations: 0 / 0.9556 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.007466, allocations: 0 / 0.9556 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.007473, allocations: 4 kB / 0.9556 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.007696, allocations: 191.7 kB / 0.9558 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.00791, allocations: 196.7 kB / 0.956 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.008231, allocations: 198.5 kB / 0.9562 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.158e-05/0.008302, allocations: 56.83 kB / 0.9562 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.008322, allocations: 4 kB / 0.9562 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.008507, allocations: 139.2 kB / 0.9564 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.008509, allocations: 0 / 0.9564 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0003936/0.008903, allocations: 249.6 kB / 0.9566 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.008958, allocations: 89.05 kB / 0.9567 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.009177, allocations: 258.8 kB / 0.9569 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.009198, allocations: 33.7 kB / 0.957 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.009259, allocations: 112.1 kB / 0.9571 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.00931, allocations: 55.56 kB / 0.9571 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.009357, allocations: 33.7 kB / 0.9572 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.009466, allocations: 326.8 kB / 0.9575 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.669e-05/0.009542, allocations: 63.95 kB / 0.9575 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-05/0.00964, allocations: 104.2 kB / 0.9576 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.00981, allocations: 150.2 kB / 0.9578 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.009813, allocations: 0 / 0.9578 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002502/0.01006, allocations: 220.8 kB / 0.958 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.01008, allocations: 14.33 kB / 0.958 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01009, allocations: 0 / 0.958 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.01011, allocations: 0 / 0.958 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.591e-05/0.0102, allocations: 23.98 kB / 0.958 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.01021, allocations: 4 kB / 0.958 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.01025, allocations: 11.95 kB / 0.958 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.01026, allocations: 7.938 kB / 0.958 GB, free: 11.48 MB / 0.9167 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.0001046/0.01037, allocations: 137.8 kB / 0.9582 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.01039, allocations: 23.83 kB / 0.9582 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.01075, allocations: 292.7 kB / 0.9585 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.01075, allocations: 4 kB / 0.9585 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.01076, allocations: 0 / 0.9585 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.01076, allocations: 0 / 0.9585 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.01095, allocations: 216.6 kB / 0.9587 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.01095, allocations: 3.938 kB / 0.9587 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.84e-05/0.01102, allocations: 35.92 kB / 0.9587 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.01102, allocations: 11.94 kB / 0.9587 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.01104, allocations: 0 / 0.9587 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.01104, allocations: 4 kB / 0.9587 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.01104, allocations: 3.984 kB / 0.9587 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.01132, allocations: 267.7 kB / 0.959 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.432e-05/0.01135, allocations: 31.72 kB / 0.959 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.01138, allocations: 11.94 kB / 0.959 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.222e-05/0.01141, allocations: 4 kB / 0.959 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.01146, allocations: 15.97 kB / 0.9591 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.01149, allocations: 19.98 kB / 0.9591 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001308/0.01162, allocations: 192.4 kB / 0.9593 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01162, allocations: 0 / 0.9593 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002123/0.01183, allocations: 59.86 kB / 0.9593 GB, free: 10.1 MB / 0.9167 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.00134/0.01317, allocations: 1.254 MB / 0.9605 GB, free: 9.035 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.0134, allocations: 147.9 kB / 0.9607 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.0134, allocations: 0 / 0.9607 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.55e-05/0.0135, allocations: 89.95 kB / 0.9608 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.01369, allocations: 35.92 kB / 0.9608 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.01562, allocations: 2.13 MB / 0.9629 GB, free: 6.551 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.204e-05/0.0157, allocations: 124 kB / 0.963 GB, free: 6.414 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.586e-05/0.01578, allocations: 49.42 kB / 0.9631 GB, free: 6.363 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.155e-05/0.01588, allocations: 72.47 kB / 0.9631 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of SimCode: time 7.82e-07/0.01588, allocations: 0 / 0.9631 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.03701, allocations: 6.507 MB / 0.9695 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/7.833, allocations: 12.22 kB / 0.9695 GB, free: 15.87 MB / 0.9323 GB " [Timeout remaining time 292] (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/jenkins/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: 12.155601723119617]