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.001504/0.001504, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00169/0.00169, allocations: 219.9 kB / 23.03 MB, free: 4.953 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.049/3.049, allocations: 0.49 GB / 0.7959 GB, free: 35.4 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_12_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.001897/0.001897, allocations: 68.92 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3321, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2036/0.5357, allocations: 171.7 MB / 1.494 GB, free: 5.188 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.5487, allocations: 9.231 MB / 1.503 GB, free: 11.93 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009425/0.5497, allocations: 43.62 kB / 1.503 GB, free: 11.89 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.5509, allocations: 413 kB / 1.504 GB, free: 11.48 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002908/0.5538, allocations: 1.034 MB / 1.505 GB, free: 10.45 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003457/0.5572, allocations: 1.34 MB / 1.506 GB, free: 9.105 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002537/0.5598, allocations: 1.705 MB / 1.508 GB, free: 7.391 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.561, allocations: 0.6136 MB / 1.508 GB, free: 6.754 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004101/0.5651, allocations: 1.678 MB / 1.51 GB, free: 5.07 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008682/0.5659, allocations: 0.5484 MB / 1.51 GB, free: 4.52 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.5661, allocations: 64 kB / 1.511 GB, free: 4.457 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/0.5685, allocations: 1.161 MB / 1.512 GB, free: 3.293 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004202/0.5689, allocations: 355 kB / 1.512 GB, free: 2.945 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005011/0.5694, allocations: 366.2 kB / 1.512 GB, free: 2.586 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002397/0.5718, allocations: 1.467 MB / 1.514 GB, free: 1.113 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5718, allocations: 0 / 1.514 GB, free: 1.113 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5718, allocations: 0 / 1.514 GB, free: 1.113 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.485e-05/0.5718, allocations: 0 / 1.514 GB, free: 1.113 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.001703/0.5735, allocations: 1.096 MB / 1.515 GB, free: 15.98 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.5735, allocations: 8.031 kB / 1.515 GB, free: 15.97 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.49e-05/0.5736, allocations: 26 kB / 1.515 GB, free: 15.95 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001371/0.5737, allocations: 122.5 kB / 1.515 GB, free: 15.82 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.5755, allocations: 303.1 kB / 1.515 GB, free: 15.52 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.5767, allocations: 0.501 MB / 1.516 GB, free: 15 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.267e-05/0.5767, allocations: 61.94 kB / 1.516 GB, free: 14.94 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.5769, allocations: 75.98 kB / 1.516 GB, free: 14.86 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.5784, allocations: 0.8986 MB / 1.517 GB, free: 13.9 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.5784, allocations: 0 / 1.517 GB, free: 13.9 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-05/0.5785, allocations: 35.98 kB / 1.517 GB, free: 13.87 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.055e-05/0.5786, allocations: 37.3 kB / 1.517 GB, free: 13.83 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.5796, allocations: 0.5787 MB / 1.517 GB, free: 13.25 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003834/0.5834, allocations: 2.986 MB / 1.52 GB, free: 10.16 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.5839, allocations: 215.6 kB / 1.521 GB, free: 9.922 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.5841, allocations: 138.5 kB / 1.521 GB, free: 9.777 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006239/0.5848, allocations: 107.9 kB / 1.521 GB, free: 9.672 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.5848, allocations: 42.5 kB / 1.521 GB, free: 9.621 MB / 1.217 GB Notification: Performance of pre-optimization done (n=21): time 1.813e-06/0.5848, allocations: 0 / 1.521 GB, free: 9.621 MB / 1.217 GB Notification: Performance of matching and sorting (n=21): time 0.001263/0.5861, allocations: 459 kB / 1.521 GB, free: 9.168 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.5861, allocations: 106.8 kB / 1.521 GB, free: 9.039 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.5873, allocations: 0.8605 MB / 1.522 GB, free: 8.172 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.5873, allocations: 37.64 kB / 1.522 GB, free: 8.129 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/0.5877, allocations: 384.2 kB / 1.523 GB, free: 7.746 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.5877, allocations: 79.38 kB / 1.523 GB, free: 7.668 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.5879, allocations: 65.66 kB / 1.523 GB, free: 7.598 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.588, allocations: 314 kB / 1.523 GB, free: 7.285 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.5882, allocations: 99.92 kB / 1.523 GB, free: 7.188 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.5886, allocations: 339.5 kB / 1.523 GB, free: 6.785 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005077/0.5891, allocations: 312.6 kB / 1.524 GB, free: 6.441 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5891, allocations: 0 / 1.524 GB, free: 6.441 MB / 1.217 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007385/0.5899, allocations: 405.9 kB / 1.524 GB, free: 6.039 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.5899, allocations: 8 kB / 1.524 GB, free: 6.031 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5899, allocations: 4 kB / 1.524 GB, free: 6.027 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.5899, allocations: 11.88 kB / 1.524 GB, free: 6.016 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.5902, allocations: 59.91 kB / 1.524 GB, free: 5.957 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.5903, allocations: 8.281 kB / 1.524 GB, free: 5.949 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.5907, allocations: 83.34 kB / 1.524 GB, free: 5.867 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.5907, allocations: 15.98 kB / 1.524 GB, free: 5.852 MB / 1.217 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.0002983/0.591, allocations: 233.6 kB / 1.525 GB, free: 5.613 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.5912, allocations: 83.53 kB / 1.525 GB, free: 5.531 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006387/0.5918, allocations: 321.3 kB / 1.525 GB, free: 5.211 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5918, allocations: 4.062 kB / 1.525 GB, free: 5.207 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.5918, allocations: 4 kB / 1.525 GB, free: 5.203 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.5918, allocations: 8 kB / 1.525 GB, free: 5.195 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.594, allocations: 1.287 MB / 1.526 GB, free: 3.805 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.594, allocations: 4 kB / 1.526 GB, free: 3.801 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.5942, allocations: 47.91 kB / 1.526 GB, free: 3.754 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.5942, allocations: 7.938 kB / 1.526 GB, free: 3.746 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.5942, allocations: 8 kB / 1.526 GB, free: 3.738 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.5942, allocations: 4 kB / 1.526 GB, free: 3.734 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.5942, allocations: 11.94 kB / 1.526 GB, free: 3.723 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007335/0.595, allocations: 0.5179 MB / 1.527 GB, free: 3.137 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.5952, allocations: 111.4 kB / 1.527 GB, free: 3.027 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.299e-05/0.5953, allocations: 15.94 kB / 1.527 GB, free: 3.012 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.5956, allocations: 11.98 kB / 1.527 GB, free: 3 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/0.5957, allocations: 31.84 kB / 1.527 GB, free: 2.969 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.5957, allocations: 12 kB / 1.527 GB, free: 2.957 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007769/0.5965, allocations: 0.6122 MB / 1.528 GB, free: 2.348 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5965, allocations: 4 kB / 1.528 GB, free: 2.344 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005889/0.5971, allocations: 159.8 kB / 1.528 GB, free: 2.188 MB / 1.217 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.00128/0.5984, allocations: 1.134 MB / 1.529 GB, free: 0.9727 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006356/0.599, allocations: 263.6 kB / 1.529 GB, free: 0.7148 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.599, allocations: 3.938 kB / 1.529 GB, free: 0.7109 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.5993, allocations: 129 kB / 1.529 GB, free: 0.5859 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.6011, allocations: 423.4 kB / 1.53 GB, free: 184 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008456/0.6096, allocations: 5.997 MB / 1.535 GB, free: 9.867 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.6101, allocations: 398 kB / 1.536 GB, free: 9.453 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006371/0.6107, allocations: 166.2 kB / 1.536 GB, free: 9.289 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/0.6111, allocations: 271.4 kB / 1.536 GB, free: 9.023 MB / 1.232 GB Notification: Performance of SimCode: time 1.272e-06/0.6111, allocations: 0 / 1.536 GB, free: 9.023 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05066/0.6618, allocations: 22.58 MB / 1.558 GB, free: 3.066 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.78, allocations: 8 kB / 1.558 GB, free: 3.059 MB / 1.248 GB " [Timeout remaining time 287] (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: 19.290508524980396]