Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001311/0.001311, 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.001555/0.001555, allocations: 211.7 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.427/1.427, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.236/3.236, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_latest_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.002422/0.002422, allocations: 62.16 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.378, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003572/0.3816, allocations: 1.662 MB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003434/0.385, allocations: 1.667 MB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.3852, allocations: 3.938 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.3858, allocations: 55.7 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.3863, allocations: 99.59 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.3866, allocations: 79.66 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.387, allocations: 175.6 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.232e-05/0.387, allocations: 11.94 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.3872, allocations: 67.7 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.3874, allocations: 67.8 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.3874, allocations: 12 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002901/0.3877, allocations: 107.9 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.3878, allocations: 55.77 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.984e-05/0.3879, allocations: 47.72 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005172/0.3884, allocations: 251.3 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3884, allocations: 0 / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3884, allocations: 4 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.098e-06/0.3884, allocations: 0 / 1.368 GB, free: 9.684 MB / 1.061 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.0008298/0.3893, allocations: 413 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3893, allocations: 12.03 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.815e-05/0.3894, allocations: 38.73 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.565e-05/0.3895, allocations: 20.84 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.3899, allocations: 195.1 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.3899, allocations: 8.312 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.39, allocations: 7.938 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.3903, allocations: 157 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3903, allocations: 0 / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.3903, allocations: 3.984 kB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3903, allocations: 3.984 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.3907, allocations: 183.8 kB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.391, allocations: 200.7 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.3915, allocations: 210.3 kB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.3916, allocations: 60.81 kB / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3917, allocations: 112 / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.3919, allocations: 123.3 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.3919, allocations: 0 / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0006334/0.3926, allocations: 256.1 kB / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.3926, allocations: 85.05 kB / 1.37 GB, free: 7.574 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.3929, allocations: 251 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.393, allocations: 41.64 kB / 1.37 GB, free: 7.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.3931, allocations: 116.1 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.789e-05/0.3931, allocations: 51.56 kB / 1.37 GB, free: 7.102 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.3932, allocations: 37.7 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3934, allocations: 326.8 kB / 1.37 GB, free: 6.73 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.3935, allocations: 55.97 kB / 1.37 GB, free: 6.676 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.3937, allocations: 116.2 kB / 1.37 GB, free: 6.547 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.3939, allocations: 137.7 kB / 1.371 GB, free: 6.406 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.394, allocations: 3.938 kB / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004171/0.3944, allocations: 221.4 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3944, allocations: 4 kB / 1.371 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3944, allocations: 0 / 1.371 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.3944, allocations: 4 kB / 1.371 GB, free: 6.172 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.3946, allocations: 31.92 kB / 1.371 GB, free: 6.141 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3946, allocations: 0 / 1.371 GB, free: 6.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.252e-05/0.3946, allocations: 11.94 kB / 1.371 GB, free: 6.129 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.3947, allocations: 4 kB / 1.371 GB, free: 6.125 MB / 1.061 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.0001541/0.3948, allocations: 148.9 kB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.3949, allocations: 19.94 kB / 1.371 GB, free: 5.953 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005744/0.3954, allocations: 290.8 kB / 1.371 GB, free: 5.656 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3954, allocations: 3.938 kB / 1.371 GB, free: 5.652 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.3954, allocations: 0 / 1.371 GB, free: 5.652 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3954, allocations: 3.984 kB / 1.371 GB, free: 5.648 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.3957, allocations: 224.6 kB / 1.372 GB, free: 5.387 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3957, allocations: 0 / 1.372 GB, free: 5.387 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.3958, allocations: 31.98 kB / 1.372 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3958, allocations: 0 / 1.372 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.3959, allocations: 8 kB / 1.372 GB, free: 5.348 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3959, allocations: 4 kB / 1.372 GB, free: 5.344 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3959, allocations: 0 / 1.372 GB, free: 5.344 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.3964, allocations: 287.2 kB / 1.372 GB, free: 5.047 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.3964, allocations: 23.84 kB / 1.372 GB, free: 5.023 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.3964, allocations: 7.984 kB / 1.372 GB, free: 5.016 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.3965, allocations: 8 kB / 1.372 GB, free: 5.008 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.3966, allocations: 15.97 kB / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.3966, allocations: 4 kB / 1.372 GB, free: 4.988 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000215/0.3968, allocations: 204.1 kB / 1.372 GB, free: 4.789 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3968, allocations: 0 / 1.372 GB, free: 4.789 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003144/0.3971, allocations: 63.86 kB / 1.372 GB, free: 4.727 MB / 1.061 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.002739/0.3999, allocations: 1.257 MB / 1.373 GB, free: 3.664 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003807/0.4002, allocations: 153.7 kB / 1.374 GB, free: 3.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4002, allocations: 0 / 1.374 GB, free: 3.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.4004, allocations: 87.84 kB / 1.374 GB, free: 3.434 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.4007, allocations: 39.89 kB / 1.374 GB, free: 3.395 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.4036, allocations: 2.12 MB / 1.376 GB, free: 1.195 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.4037, allocations: 119.8 kB / 1.376 GB, free: 1.059 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.4039, allocations: 49.44 kB / 1.376 GB, free: 1.012 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.404, allocations: 71.41 kB / 1.376 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.4041, allocations: 0 / 1.376 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05209/0.4561, allocations: 6.353 MB / 1.382 GB, free: 10.66 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.02, allocations: 7.984 kB / 1.382 GB, free: 10.65 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.93161915196106]