Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.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: 104.2 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.001571/0.001571, 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.401/1.401, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.021/3.021, allocations: 0.49 GB / 0.7916 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 177] 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.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_T",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.002008/0.002008, allocations: 66.91 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2888, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2178/0.5067, allocations: 197.8 MB / 1.514 GB, free: 12.8 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.5201, allocations: 10.1 MB / 1.524 GB, free: 2.676 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009859/0.5211, allocations: 39.62 kB / 1.524 GB, free: 2.637 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.5223, allocations: 405 kB / 1.524 GB, free: 2.238 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00285/0.5252, allocations: 1.065 MB / 1.525 GB, free: 1.168 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.5285, allocations: 1.32 MB / 1.527 GB, free: 15.85 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002441/0.5309, allocations: 1.678 MB / 1.528 GB, free: 14.16 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.5322, allocations: 0.6872 MB / 1.529 GB, free: 13.45 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003837/0.5361, allocations: 1.685 MB / 1.531 GB, free: 11.76 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009198/0.537, allocations: 0.5446 MB / 1.531 GB, free: 11.21 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.5372, allocations: 64 kB / 1.531 GB, free: 11.15 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.5399, allocations: 1.489 MB / 1.533 GB, free: 9.656 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004538/0.5404, allocations: 355 kB / 1.533 GB, free: 9.309 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.000671/0.5411, allocations: 437.7 kB / 1.533 GB, free: 8.879 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002838/0.5439, allocations: 1.51 MB / 1.535 GB, free: 7.363 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.5439, allocations: 0 / 1.535 GB, free: 7.363 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5439, allocations: 4 kB / 1.535 GB, free: 7.359 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.561e-05/0.5439, allocations: 0 / 1.535 GB, free: 7.359 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001898/0.5458, allocations: 1.175 MB / 1.536 GB, free: 6.133 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.5459, allocations: 11.98 kB / 1.536 GB, free: 6.121 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001598/0.546, allocations: 118.6 kB / 1.536 GB, free: 5.996 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/0.5479, allocations: 303.1 kB / 1.536 GB, free: 5.699 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.5489, allocations: 0.5706 MB / 1.537 GB, free: 5.09 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/0.5489, allocations: 61.98 kB / 1.537 GB, free: 5.027 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.549, allocations: 72 kB / 1.537 GB, free: 4.957 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.5506, allocations: 0.9025 MB / 1.538 GB, free: 3.996 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.5506, allocations: 0 / 1.538 GB, free: 3.996 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-05/0.5506, allocations: 31.94 kB / 1.538 GB, free: 3.965 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.087e-05/0.5507, allocations: 45.3 kB / 1.538 GB, free: 3.922 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.5518, allocations: 0.5748 MB / 1.539 GB, free: 3.348 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004106/0.5559, allocations: 3.498 MB / 1.542 GB, free: 15.66 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.5563, allocations: 215.7 kB / 1.542 GB, free: 15.42 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.5566, allocations: 142.5 kB / 1.542 GB, free: 15.27 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008123/0.5574, allocations: 485.4 kB / 1.543 GB, free: 14.7 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.5574, allocations: 38.5 kB / 1.543 GB, free: 14.66 MB / 1.248 GB Notification: Performance of pre-optimization done (n=21): time 1.944e-06/0.5575, allocations: 0 / 1.543 GB, free: 14.66 MB / 1.248 GB Notification: Performance of matching and sorting (n=21): time 0.001312/0.5588, allocations: 458.5 kB / 1.543 GB, free: 14.2 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/0.5588, allocations: 110.8 kB / 1.543 GB, free: 14.07 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.56, allocations: 0.8606 MB / 1.544 GB, free: 13.2 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.5601, allocations: 29.7 kB / 1.544 GB, free: 13.16 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.5604, allocations: 388.2 kB / 1.545 GB, free: 12.78 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 8.295e-05/0.5605, allocations: 79.28 kB / 1.545 GB, free: 12.7 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.5606, allocations: 65.72 kB / 1.545 GB, free: 12.63 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5607, allocations: 318 kB / 1.545 GB, free: 12.32 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.561, allocations: 99.92 kB / 1.545 GB, free: 12.22 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.5613, allocations: 211.5 kB / 1.545 GB, free: 11.97 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.5618, allocations: 308.7 kB / 1.546 GB, free: 11.63 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5618, allocations: 0 / 1.546 GB, free: 11.63 MB / 1.248 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007848/0.5626, allocations: 404.7 kB / 1.546 GB, free: 11.23 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.5627, allocations: 8 kB / 1.546 GB, free: 11.22 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.5627, allocations: 0 / 1.546 GB, free: 11.22 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.5627, allocations: 12.28 kB / 1.546 GB, free: 11.21 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.563, allocations: 63.97 kB / 1.546 GB, free: 11.15 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.563, allocations: 15.92 kB / 1.546 GB, free: 11.13 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/0.5635, allocations: 83.28 kB / 1.546 GB, free: 11.05 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.5635, allocations: 19.94 kB / 1.546 GB, free: 11.03 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.000302/0.5639, allocations: 226.2 kB / 1.546 GB, free: 10.8 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.564, allocations: 83.48 kB / 1.547 GB, free: 10.72 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006806/0.5647, allocations: 334.3 kB / 1.547 GB, free: 10.39 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.5647, allocations: 4 kB / 1.547 GB, free: 10.38 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5647, allocations: 0 / 1.547 GB, free: 10.38 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5647, allocations: 0 / 1.547 GB, free: 10.38 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.5668, allocations: 1.369 MB / 1.548 GB, free: 8.902 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.5668, allocations: 8 kB / 1.548 GB, free: 8.895 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.5671, allocations: 40.02 kB / 1.548 GB, free: 8.855 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.5671, allocations: 7.984 kB / 1.548 GB, free: 8.848 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.5671, allocations: 19.92 kB / 1.548 GB, free: 8.828 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.5671, allocations: 4.531 kB / 1.548 GB, free: 8.824 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.5671, allocations: 8 kB / 1.548 GB, free: 8.816 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00073/0.5678, allocations: 0.5192 MB / 1.549 GB, free: 8.23 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/0.5681, allocations: 184.5 kB / 1.549 GB, free: 8.031 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-05/0.5682, allocations: 8 kB / 1.549 GB, free: 8.023 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.5685, allocations: 19.92 kB / 1.549 GB, free: 8.004 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.618e-05/0.5686, allocations: 31.84 kB / 1.549 GB, free: 7.973 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.5686, allocations: 12 kB / 1.549 GB, free: 7.961 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008376/0.5695, allocations: 0.6122 MB / 1.55 GB, free: 7.355 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.5695, allocations: 4 kB / 1.55 GB, free: 7.352 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0006246/0.5701, allocations: 163.7 kB / 1.55 GB, free: 7.191 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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 Backend phase and start with SimCode phase: time 0.001257/0.5714, allocations: 1.14 MB / 1.551 GB, free: 5.973 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0005905/0.5719, allocations: 249.8 kB / 1.551 GB, free: 5.73 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5719, allocations: 0 / 1.551 GB, free: 5.73 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.5722, allocations: 127.9 kB / 1.551 GB, free: 5.605 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.5741, allocations: 432.3 kB / 1.552 GB, free: 5.191 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008632/0.5827, allocations: 6.018 MB / 1.558 GB, free: 14.85 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/0.5834, allocations: 0.9956 MB / 1.559 GB, free: 13.82 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0005372/0.584, allocations: 158.2 kB / 1.559 GB, free: 13.67 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.5843, allocations: 271.3 kB / 1.559 GB, free: 13.4 MB / 1.264 GB Notification: Performance of SimCode: time 9.42e-07/0.5843, allocations: 4 kB / 1.559 GB, free: 13.4 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05186/0.6362, allocations: 20.8 MB / 1.579 GB, free: 8.914 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.897/9.533, allocations: 4 kB / 1.579 GB, free: 8.91 MB / 1.279 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.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.747421792009845]