Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001375/0.001375, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00173/0.00173, allocations: 213.8 kB / 22.25 MB, free: 4.859 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.72/2.72, allocations: 476 MB / 0.7699 GB, free: 4.789 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_11_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.002105/0.002105, allocations: 73.5 kB / 1.117 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3225, allocations: 169.9 MB / 1.283 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2188/0.5413, allocations: 171.7 MB / 1.45 GB, free: 7.852 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01294/0.5543, allocations: 9.25 MB / 1.459 GB, free: 14.58 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009225/0.5552, allocations: 43.62 kB / 1.459 GB, free: 14.54 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.5562, allocations: 409 kB / 1.46 GB, free: 14.13 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.559, allocations: 1.038 MB / 1.461 GB, free: 13.09 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.5622, allocations: 1.334 MB / 1.462 GB, free: 11.75 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002314/0.5646, allocations: 1.709 MB / 1.464 GB, free: 10.04 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.5656, allocations: 0.5981 MB / 1.464 GB, free: 9.422 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/0.5687, allocations: 1.463 MB / 1.466 GB, free: 7.953 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007637/0.5694, allocations: 0.525 MB / 1.466 GB, free: 7.426 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.5695, allocations: 64 kB / 1.466 GB, free: 7.363 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.5718, allocations: 1.165 MB / 1.467 GB, free: 6.195 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000384/0.5722, allocations: 355 kB / 1.468 GB, free: 5.848 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004159/0.5726, allocations: 366.3 kB / 1.468 GB, free: 5.488 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.5748, allocations: 1.467 MB / 1.47 GB, free: 4.012 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.5748, allocations: 4 kB / 1.47 GB, free: 4.008 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5748, allocations: 0 / 1.47 GB, free: 4.008 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.5748, allocations: 0 / 1.47 GB, free: 4.008 MB / 1.17 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.001675/0.5765, allocations: 1.092 MB / 1.471 GB, free: 2.883 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.5766, allocations: 8.031 kB / 1.471 GB, free: 2.875 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.5767, allocations: 122.6 kB / 1.471 GB, free: 2.746 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.5785, allocations: 303.1 kB / 1.471 GB, free: 2.449 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.5796, allocations: 0.5049 MB / 1.472 GB, free: 1.914 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.791e-05/0.5797, allocations: 57.98 kB / 1.472 GB, free: 1.855 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.5798, allocations: 72 kB / 1.472 GB, free: 1.785 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.5813, allocations: 0.8986 MB / 1.473 GB, free: 0.8281 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.5813, allocations: 4 kB / 1.473 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.989e-05/0.5814, allocations: 35.94 kB / 1.473 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.009e-05/0.5814, allocations: 41.23 kB / 1.473 GB, free: 0.75 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.5825, allocations: 0.5801 MB / 1.473 GB, free: 172 kB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/0.5864, allocations: 2.994 MB / 1.476 GB, free: 13.07 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.5868, allocations: 215.7 kB / 1.476 GB, free: 12.83 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.5871, allocations: 134.8 kB / 1.476 GB, free: 12.69 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006419/0.5877, allocations: 116 kB / 1.477 GB, free: 12.57 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.5877, allocations: 38.52 kB / 1.477 GB, free: 12.53 MB / 1.186 GB Notification: Performance of pre-optimization done (n=21): time 2.084e-06/0.5877, allocations: 0 / 1.477 GB, free: 12.53 MB / 1.186 GB Notification: Performance of matching and sorting (n=21): time 0.001366/0.5891, allocations: 462.7 kB / 1.477 GB, free: 12.07 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/0.5892, allocations: 102.8 kB / 1.477 GB, free: 11.95 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.5903, allocations: 0.8761 MB / 1.478 GB, free: 11.06 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.5904, allocations: 29.7 kB / 1.478 GB, free: 11.02 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/0.5907, allocations: 392.2 kB / 1.478 GB, free: 10.64 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.282e-05/0.5908, allocations: 71.38 kB / 1.478 GB, free: 10.57 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.5909, allocations: 65.69 kB / 1.479 GB, free: 10.5 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5911, allocations: 314 kB / 1.479 GB, free: 10.18 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.5913, allocations: 103.9 kB / 1.479 GB, free: 10.08 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.5917, allocations: 337.2 kB / 1.479 GB, free: 9.684 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005456/0.5923, allocations: 306.8 kB / 1.48 GB, free: 9.344 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.5923, allocations: 4 kB / 1.48 GB, free: 9.34 MB / 1.186 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007732/0.593, allocations: 406.3 kB / 1.48 GB, free: 8.938 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.5931, allocations: 8 kB / 1.48 GB, free: 8.93 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5931, allocations: 4 kB / 1.48 GB, free: 8.926 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.5931, allocations: 7.938 kB / 1.48 GB, free: 8.918 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.5934, allocations: 55.91 kB / 1.48 GB, free: 8.863 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.5934, allocations: 7.938 kB / 1.48 GB, free: 8.855 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/0.5939, allocations: 87.56 kB / 1.48 GB, free: 8.77 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.5939, allocations: 20 kB / 1.48 GB, free: 8.75 MB / 1.186 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.0002893/0.5942, allocations: 229.7 kB / 1.48 GB, free: 8.516 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.5943, allocations: 83.48 kB / 1.48 GB, free: 8.434 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006828/0.595, allocations: 316.6 kB / 1.481 GB, free: 8.113 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.595, allocations: 7.984 kB / 1.481 GB, free: 8.105 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.595, allocations: 0 / 1.481 GB, free: 8.105 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.595, allocations: 7.938 kB / 1.481 GB, free: 8.098 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.5972, allocations: 1.279 MB / 1.482 GB, free: 6.715 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.5972, allocations: 11.97 kB / 1.482 GB, free: 6.703 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.5975, allocations: 47.97 kB / 1.482 GB, free: 6.656 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.5975, allocations: 8 kB / 1.482 GB, free: 6.648 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.5975, allocations: 11.94 kB / 1.482 GB, free: 6.637 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.5975, allocations: 4 kB / 1.482 GB, free: 6.633 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/0.5975, allocations: 11.94 kB / 1.482 GB, free: 6.621 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000734/0.5982, allocations: 0.5208 MB / 1.483 GB, free: 6.031 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002873/0.5985, allocations: 111.4 kB / 1.483 GB, free: 5.922 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.133e-05/0.5986, allocations: 8 kB / 1.483 GB, free: 5.914 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.599, allocations: 19.92 kB / 1.483 GB, free: 5.895 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.599, allocations: 31.84 kB / 1.483 GB, free: 5.863 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.5991, allocations: 8 kB / 1.483 GB, free: 5.855 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008477/0.5999, allocations: 0.6161 MB / 1.483 GB, free: 5.246 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5999, allocations: 0 / 1.483 GB, free: 5.246 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006206/0.6005, allocations: 163.7 kB / 1.484 GB, free: 5.086 MB / 1.186 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.001322/0.6019, allocations: 1.132 MB / 1.485 GB, free: 3.875 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006328/0.6025, allocations: 260.1 kB / 1.485 GB, free: 3.621 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6025, allocations: 0 / 1.485 GB, free: 3.621 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.6028, allocations: 127.7 kB / 1.485 GB, free: 3.496 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.6047, allocations: 421.2 kB / 1.485 GB, free: 3.09 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008565/0.6133, allocations: 6.001 MB / 1.491 GB, free: 12.77 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.6137, allocations: 406 kB / 1.492 GB, free: 12.35 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0006797/0.6144, allocations: 162.2 kB / 1.492 GB, free: 12.19 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/0.6148, allocations: 275.3 kB / 1.492 GB, free: 11.92 MB / 1.201 GB Notification: Performance of SimCode: time 1.333e-06/0.6148, allocations: 4 kB / 1.492 GB, free: 11.92 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05866/0.6735, allocations: 23.03 MB / 1.515 GB, free: 5.418 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.74, allocations: 17.69 kB / 1.515 GB, free: 5.406 MB / 1.217 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.169536378234625]