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.001592/0.001592, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.002023/0.002023, allocations: 217 kB / 23.04 MB, free: 5.074 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.753/2.753, allocations: 476.7 MB / 0.7714 GB, free: 4.277 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="cs",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.002036/0.002036, allocations: 65.52 kB / 1.118 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2969, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.235/0.5319, allocations: 198.1 MB / 1.478 GB, free: 4.883 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01505/0.547, allocations: 10.19 MB / 1.488 GB, free: 10.67 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.5482, allocations: 43.62 kB / 1.488 GB, free: 10.63 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.5496, allocations: 401 kB / 1.488 GB, free: 10.23 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003446/0.5531, allocations: 1.081 MB / 1.489 GB, free: 9.148 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003851/0.5569, allocations: 1.382 MB / 1.49 GB, free: 7.766 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002749/0.5597, allocations: 1.717 MB / 1.492 GB, free: 6.043 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.5609, allocations: 0.6098 MB / 1.493 GB, free: 5.41 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003315/0.5642, allocations: 1.491 MB / 1.494 GB, free: 3.914 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.5653, allocations: 0.5679 MB / 1.495 GB, free: 3.344 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.5654, allocations: 60 kB / 1.495 GB, free: 3.285 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.5686, allocations: 1.535 MB / 1.496 GB, free: 1.746 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004981/0.5691, allocations: 362.9 kB / 1.497 GB, free: 1.391 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006651/0.5697, allocations: 433.7 kB / 1.497 GB, free: 0.9648 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002725/0.5725, allocations: 1.515 MB / 1.498 GB, free: 15.45 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5725, allocations: 4 kB / 1.498 GB, free: 15.44 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5725, allocations: 0 / 1.498 GB, free: 15.44 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.666e-05/0.5725, allocations: 0 / 1.498 GB, free: 15.44 MB / 1.201 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.001693/0.5742, allocations: 1.096 MB / 1.5 GB, free: 14.31 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.5742, allocations: 12.03 kB / 1.5 GB, free: 14.3 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.652e-05/0.5743, allocations: 18 kB / 1.5 GB, free: 14.28 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/0.5744, allocations: 126.6 kB / 1.5 GB, free: 14.15 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.5762, allocations: 307.1 kB / 1.5 GB, free: 13.85 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.5773, allocations: 0.4971 MB / 1.5 GB, free: 13.32 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.497e-05/0.5773, allocations: 62 kB / 1.501 GB, free: 13.26 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.994e-05/0.5774, allocations: 75.98 kB / 1.501 GB, free: 13.19 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.5789, allocations: 0.8947 MB / 1.501 GB, free: 12.23 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.5789, allocations: 0 / 1.501 GB, free: 12.23 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.761e-05/0.579, allocations: 39.92 kB / 1.502 GB, free: 12.19 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.99e-05/0.5791, allocations: 37.3 kB / 1.502 GB, free: 12.16 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.5801, allocations: 0.5826 MB / 1.502 GB, free: 11.57 MB / 1.201 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.004097/0.5842, allocations: 3.416 MB / 1.505 GB, free: 7.977 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.5846, allocations: 211.7 kB / 1.506 GB, free: 7.742 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.5849, allocations: 138.8 kB / 1.506 GB, free: 7.598 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006205/0.5855, allocations: 111.9 kB / 1.506 GB, free: 7.488 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.5856, allocations: 46.45 kB / 1.506 GB, free: 7.434 MB / 1.201 GB Notification: Performance of pre-optimization done (n=21): time 2.144e-06/0.5856, allocations: 0 / 1.506 GB, free: 7.434 MB / 1.201 GB Notification: Performance of matching and sorting (n=21): time 0.001363/0.5869, allocations: 455 kB / 1.506 GB, free: 6.984 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.587, allocations: 111.1 kB / 1.506 GB, free: 6.852 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.5882, allocations: 0.8645 MB / 1.507 GB, free: 5.977 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.5882, allocations: 29.7 kB / 1.507 GB, free: 5.941 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.5885, allocations: 384.2 kB / 1.508 GB, free: 5.562 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/0.5886, allocations: 79.31 kB / 1.508 GB, free: 5.484 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.5887, allocations: 61.66 kB / 1.508 GB, free: 5.418 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.5889, allocations: 318 kB / 1.508 GB, free: 5.102 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.5891, allocations: 99.92 kB / 1.508 GB, free: 5.004 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.5895, allocations: 215 kB / 1.508 GB, free: 4.754 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005596/0.59, allocations: 318 kB / 1.509 GB, free: 4.406 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.59, allocations: 0 / 1.509 GB, free: 4.406 MB / 1.201 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008315/0.5909, allocations: 408.7 kB / 1.509 GB, free: 4 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.5909, allocations: 8 kB / 1.509 GB, free: 3.992 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5909, allocations: 4 kB / 1.509 GB, free: 3.988 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.5909, allocations: 7.938 kB / 1.509 GB, free: 3.98 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.5912, allocations: 55.91 kB / 1.509 GB, free: 3.926 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.5912, allocations: 7.984 kB / 1.509 GB, free: 3.918 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/0.5917, allocations: 91.62 kB / 1.509 GB, free: 3.828 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.5917, allocations: 15.94 kB / 1.509 GB, free: 3.812 MB / 1.201 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.0003181/0.592, allocations: 233.6 kB / 1.51 GB, free: 3.574 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.5922, allocations: 83.48 kB / 1.51 GB, free: 3.492 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006781/0.5929, allocations: 324.7 kB / 1.51 GB, free: 3.164 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.5929, allocations: 4 kB / 1.51 GB, free: 3.16 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5929, allocations: 4 kB / 1.51 GB, free: 3.156 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.5929, allocations: 0 / 1.51 GB, free: 3.156 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.5951, allocations: 1.345 MB / 1.511 GB, free: 1.707 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.5951, allocations: 4 kB / 1.511 GB, free: 1.703 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.5953, allocations: 39.97 kB / 1.511 GB, free: 1.664 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.5953, allocations: 15.88 kB / 1.511 GB, free: 1.648 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.5953, allocations: 8 kB / 1.511 GB, free: 1.641 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/0.5954, allocations: 8 kB / 1.511 GB, free: 1.633 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5954, allocations: 4 kB / 1.511 GB, free: 1.629 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007265/0.5961, allocations: 0.521 MB / 1.512 GB, free: 1.039 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/0.5964, allocations: 115.4 kB / 1.512 GB, free: 0.9258 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-05/0.5964, allocations: 15.92 kB / 1.512 GB, free: 0.9102 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.5968, allocations: 12 kB / 1.512 GB, free: 0.8984 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.5968, allocations: 31.84 kB / 1.512 GB, free: 0.8672 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-05/0.5969, allocations: 12 kB / 1.512 GB, free: 0.8555 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008013/0.5977, allocations: 0.6122 MB / 1.513 GB, free: 252 kB / 1.201 GB Notification: Performance of sort global known variables: time 6e-08/0.5977, allocations: 0 / 1.513 GB, free: 252 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006284/0.5983, allocations: 167.8 kB / 1.513 GB, free: 84 kB / 1.201 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.001276/0.5996, allocations: 1.123 MB / 1.514 GB, free: 14.88 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006278/0.6002, allocations: 259.6 kB / 1.514 GB, free: 14.62 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.6002, allocations: 4 kB / 1.514 GB, free: 14.62 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.6005, allocations: 129.2 kB / 1.514 GB, free: 14.5 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.6024, allocations: 427.8 kB / 1.515 GB, free: 14.09 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008623/0.611, allocations: 6.003 MB / 1.521 GB, free: 7.766 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/0.6117, allocations: 0.9956 MB / 1.521 GB, free: 6.742 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005802/0.6123, allocations: 162.2 kB / 1.522 GB, free: 6.582 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/0.6126, allocations: 271.3 kB / 1.522 GB, free: 6.316 MB / 1.217 GB Notification: Performance of SimCode: time 1.042e-06/0.6126, allocations: 0 / 1.522 GB, free: 6.316 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05151/0.6641, allocations: 21.11 MB / 1.543 GB, free: 1.602 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.03, allocations: 10.84 kB / 1.543 GB, free: 1.594 MB / 1.232 GB " [Timeout remaining time 285] (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: 21.011363627039827]