Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 109.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.029/3.029, allocations: 497.2 MB / 0.7811 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 64.72 kB / 1.134 GB, free: 33.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3058, allocations: 173.9 MB / 1.304 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2275/0.5333, allocations: 194.8 MB / 1.494 GB, free: 14 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01336/0.5467, allocations: 10.1 MB / 1.504 GB, free: 3.879 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.5478, allocations: 27.81 kB / 1.504 GB, free: 3.852 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.5491, allocations: 408.9 kB / 1.505 GB, free: 3.449 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002933/0.552, allocations: 1.058 MB / 1.506 GB, free: 2.387 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003402/0.5554, allocations: 1.32 MB / 1.507 GB, free: 1.066 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002398/0.5578, allocations: 1.686 MB / 1.508 GB, free: 15.37 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.5591, allocations: 0.6872 MB / 1.509 GB, free: 14.66 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004026/0.5631, allocations: 1.685 MB / 1.511 GB, free: 12.97 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.5641, allocations: 0.5484 MB / 1.511 GB, free: 12.42 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.5643, allocations: 64 kB / 1.511 GB, free: 12.36 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003023/0.5673, allocations: 1.473 MB / 1.513 GB, free: 10.88 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004882/0.5678, allocations: 359 kB / 1.513 GB, free: 10.53 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0007266/0.5686, allocations: 437.8 kB / 1.514 GB, free: 10.1 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.5717, allocations: 1.506 MB / 1.515 GB, free: 8.586 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5717, allocations: 0 / 1.515 GB, free: 8.586 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5717, allocations: 7.938 kB / 1.515 GB, free: 8.578 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.167e-05/0.5717, allocations: 0 / 1.515 GB, free: 8.578 MB / 1.217 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.002054/0.5738, allocations: 1.168 MB / 1.516 GB, free: 7.359 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5738, allocations: 8.922 kB / 1.516 GB, free: 7.352 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/0.574, allocations: 122.6 kB / 1.516 GB, free: 7.223 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.5758, allocations: 295.1 kB / 1.517 GB, free: 6.934 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.5771, allocations: 0.5783 MB / 1.517 GB, free: 6.316 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-05/0.5772, allocations: 61.98 kB / 1.517 GB, free: 6.254 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.5773, allocations: 68 kB / 1.517 GB, free: 6.188 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.5788, allocations: 0.9103 MB / 1.518 GB, free: 5.219 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.5788, allocations: 0 / 1.518 GB, free: 5.219 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.66e-05/0.5789, allocations: 28 kB / 1.518 GB, free: 5.191 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.876e-05/0.5789, allocations: 45.23 kB / 1.518 GB, free: 5.148 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.58, allocations: 0.5671 MB / 1.519 GB, free: 4.578 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004142/0.5841, allocations: 3.51 MB / 1.522 GB, free: 0.8789 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004103/0.5845, allocations: 211.8 kB / 1.522 GB, free: 0.6445 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.5848, allocations: 138.4 kB / 1.523 GB, free: 0.5 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008857/0.5857, allocations: 489.4 kB / 1.523 GB, free: 15.93 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.5857, allocations: 38.91 kB / 1.523 GB, free: 15.88 MB / 1.232 GB Notification: Performance of pre-optimization done (n=21): time 2.114e-06/0.5857, allocations: 0 / 1.523 GB, free: 15.88 MB / 1.232 GB Notification: Performance of matching and sorting (n=21): time 0.001318/0.5871, allocations: 462.5 kB / 1.524 GB, free: 15.43 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.753e-05/0.5871, allocations: 110.8 kB / 1.524 GB, free: 15.29 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.5882, allocations: 0.8567 MB / 1.524 GB, free: 14.42 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.5883, allocations: 37.77 kB / 1.525 GB, free: 14.38 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.5886, allocations: 388.2 kB / 1.525 GB, free: 14 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 6.593e-05/0.5887, allocations: 75.36 kB / 1.525 GB, free: 13.92 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.5888, allocations: 61.66 kB / 1.525 GB, free: 13.86 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5889, allocations: 318 kB / 1.525 GB, free: 13.54 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.5891, allocations: 103.9 kB / 1.525 GB, free: 13.44 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.5895, allocations: 211.1 kB / 1.526 GB, free: 13.19 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.59, allocations: 316.7 kB / 1.526 GB, free: 12.84 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.59, allocations: 0 / 1.526 GB, free: 12.84 MB / 1.232 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007288/0.5907, allocations: 408.9 kB / 1.526 GB, free: 12.44 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5907, allocations: 5.719 kB / 1.526 GB, free: 12.43 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.5907, allocations: 7.938 kB / 1.526 GB, free: 12.43 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.5908, allocations: 7.938 kB / 1.526 GB, free: 12.42 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.5911, allocations: 63.91 kB / 1.526 GB, free: 12.36 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.5911, allocations: 4 kB / 1.526 GB, free: 12.35 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.5915, allocations: 83.28 kB / 1.526 GB, free: 12.27 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.5916, allocations: 12 kB / 1.526 GB, free: 12.26 MB / 1.232 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.0003054/0.5919, allocations: 233.8 kB / 1.527 GB, free: 12.02 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.592, allocations: 79.48 kB / 1.527 GB, free: 11.94 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000663/0.5927, allocations: 338.1 kB / 1.527 GB, free: 11.6 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.5927, allocations: 0 / 1.527 GB, free: 11.6 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.5927, allocations: 4 kB / 1.527 GB, free: 11.6 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5927, allocations: 0 / 1.527 GB, free: 11.6 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.5949, allocations: 1.362 MB / 1.528 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.5949, allocations: 4.625 kB / 1.528 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.5951, allocations: 47.92 kB / 1.528 GB, free: 10.07 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.5952, allocations: 7.984 kB / 1.528 GB, free: 10.07 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.5952, allocations: 15.94 kB / 1.529 GB, free: 10.05 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.5952, allocations: 7.984 kB / 1.529 GB, free: 10.04 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.5952, allocations: 7.938 kB / 1.529 GB, free: 10.04 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006658/0.5959, allocations: 0.511 MB / 1.529 GB, free: 9.457 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.5962, allocations: 192.5 kB / 1.529 GB, free: 9.25 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.29e-05/0.5962, allocations: 8 kB / 1.529 GB, free: 9.242 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.5966, allocations: 27.86 kB / 1.529 GB, free: 9.215 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/0.5966, allocations: 27.86 kB / 1.529 GB, free: 9.188 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.5966, allocations: 11.98 kB / 1.529 GB, free: 9.176 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000783/0.5974, allocations: 0.6122 MB / 1.53 GB, free: 8.57 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5974, allocations: 4 kB / 1.53 GB, free: 8.566 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000562/0.598, allocations: 167.7 kB / 1.53 GB, free: 8.402 MB / 1.232 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.001306/0.5993, allocations: 1.138 MB / 1.531 GB, free: 7.191 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005805/0.5999, allocations: 263.6 kB / 1.531 GB, free: 6.938 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5999, allocations: 0 / 1.531 GB, free: 6.938 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.6001, allocations: 125.5 kB / 1.532 GB, free: 6.816 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.6018, allocations: 422.6 kB / 1.532 GB, free: 6.402 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007815/0.6096, allocations: 5.999 MB / 1.538 GB, free: 92 kB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/0.6103, allocations: 0.9995 MB / 1.539 GB, free: 15.06 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005556/0.6108, allocations: 170.2 kB / 1.539 GB, free: 14.89 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003449/0.6112, allocations: 271.3 kB / 1.539 GB, free: 14.63 MB / 1.248 GB Notification: Performance of SimCode: time 1.011e-06/0.6112, allocations: 0 / 1.539 GB, free: 14.63 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05288/0.6641, allocations: 20.86 MB / 1.56 GB, free: 10.11 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.325/9.989, allocations: 6.984 kB / 1.56 GB, free: 10.11 MB / 1.264 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.40469406777993]