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.001294/0.001294, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.001437/0.001437, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.455/1.455, 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 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.148/3.148, allocations: 0.49 GB / 0.7916 GB, free: 33.34 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.002042/0.002042, allocations: 70.97 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4129, allocations: 176.1 MB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00349/0.4164, allocations: 1.662 MB / 1.322 GB, free: 1.672 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003066/0.4195, allocations: 1.651 MB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.788e-05/0.4196, allocations: 7.938 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000519/0.4201, allocations: 55.75 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.4204, allocations: 99.53 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.4206, allocations: 67.75 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.4208, allocations: 175.6 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.4209, allocations: 7.938 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.421, allocations: 71.75 kB / 1.325 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.4212, allocations: 75.73 kB / 1.325 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.4213, allocations: 8 kB / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.4215, allocations: 115.9 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.05e-05/0.4216, allocations: 55.75 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.235e-05/0.4217, allocations: 67.59 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.4221, allocations: 235.4 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.4221, allocations: 0 / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4221, allocations: 0 / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.4221, allocations: 0 / 1.325 GB, free: 14.99 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.0007966/0.4229, allocations: 0.498 MB / 1.326 GB, free: 14.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.4229, allocations: 15.92 kB / 1.326 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.34e-05/0.423, allocations: 42.73 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.423, allocations: 16.84 kB / 1.326 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.4235, allocations: 265 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.4235, allocations: 4.375 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.4236, allocations: 11.92 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.4238, allocations: 119.2 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.4238, allocations: 0 / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.4239, allocations: 7.984 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.4239, allocations: 8 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000258/0.4241, allocations: 139.9 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.4245, allocations: 233.5 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.4249, allocations: 162.4 kB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.425, allocations: 44.84 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.425, allocations: 11.98 kB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.4253, allocations: 111.4 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.4253, allocations: 0 / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005405/0.4258, allocations: 225.4 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.4259, allocations: 81.11 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.4262, allocations: 219 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.4262, allocations: 29.7 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.4263, allocations: 120.2 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.4263, allocations: 51.55 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.353e-05/0.4264, allocations: 33.7 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4266, allocations: 326.8 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.4267, allocations: 43.98 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.4268, allocations: 77.36 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.4271, allocations: 128.2 kB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4271, allocations: 3.938 kB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003571/0.4274, allocations: 197.5 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4274, allocations: 6.188 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4274, allocations: 0 / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.4275, allocations: 0 / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.4276, allocations: 35.92 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.4276, allocations: 0 / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.642e-05/0.4277, allocations: 7.984 kB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.4277, allocations: 8.031 kB / 1.328 GB, free: 11.5 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.0001436/0.4278, allocations: 137.8 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.428, allocations: 23.8 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.589e-05/0.428, allocations: 29.52 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.428, allocations: 0 / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.428, allocations: 0 / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.428, allocations: 0 / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.4284, allocations: 249.4 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4284, allocations: 0 / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.111e-05/0.4284, allocations: 31.92 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4284, allocations: 0 / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.4284, allocations: 4 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4284, allocations: 0 / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4284, allocations: 0 / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003952/0.4288, allocations: 220.9 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.429, allocations: 89.02 kB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.429, allocations: 3.984 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.966e-05/0.4291, allocations: 12 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.4291, allocations: 11.92 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.4291, allocations: 8 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001834/0.4293, allocations: 172.2 kB / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4293, allocations: 3.938 kB / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003955/0.4297, allocations: 51.86 kB / 1.329 GB, free: 10.37 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.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.002571/0.4323, allocations: 1.149 MB / 1.33 GB, free: 9.383 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000313/0.4326, allocations: 118.6 kB / 1.33 GB, free: 9.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4326, allocations: 4 kB / 1.33 GB, free: 9.266 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.4327, allocations: 51.91 kB / 1.331 GB, free: 9.215 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.433, allocations: 36.67 kB / 1.331 GB, free: 9.184 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.436, allocations: 1.99 MB / 1.332 GB, free: 7.102 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005964/0.4366, allocations: 0.7202 MB / 1.333 GB, free: 6.355 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001309/0.4368, allocations: 49.5 kB / 1.333 GB, free: 6.309 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.4369, allocations: 59.41 kB / 1.333 GB, free: 6.25 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.4369, allocations: 4 kB / 1.333 GB, free: 6.246 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.4706, allocations: 5.2 MB / 1.338 GB, free: 1.164 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.288/8.759, allocations: 24.05 kB / 1.338 GB, free: 1.145 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.703748908825219]