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.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.001739/0.001739, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.002205/0.002205, allocations: 219.8 kB / 23.05 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.32/1.32, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.901/2.901, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_latest_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.001837/0.001837, allocations: 67.81 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2883, allocations: 179 MB / 1.345 GB, free: 448 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2064/0.4947, allocations: 198.2 MB / 1.539 GB, free: 9.508 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01221/0.5069, allocations: 10.18 MB / 1.549 GB, free: 15.3 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.5081, allocations: 39.62 kB / 1.549 GB, free: 15.26 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.5092, allocations: 405 kB / 1.549 GB, free: 14.86 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.003185/0.5124, allocations: 1.077 MB / 1.55 GB, free: 13.78 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003256/0.5156, allocations: 1.376 MB / 1.552 GB, free: 12.41 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.002293/0.5179, allocations: 1.706 MB / 1.553 GB, free: 10.7 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000971/0.5189, allocations: 0.602 MB / 1.554 GB, free: 10.07 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003472/0.5224, allocations: 1.72 MB / 1.556 GB, free: 8.348 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007181/0.5231, allocations: 0.5446 MB / 1.556 GB, free: 7.801 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 9.556e-05/0.5232, allocations: 64 kB / 1.556 GB, free: 7.738 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00247/0.5256, allocations: 1.52 MB / 1.558 GB, free: 6.215 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0003394/0.526, allocations: 355 kB / 1.558 GB, free: 5.867 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0004317/0.5264, allocations: 433.8 kB / 1.558 GB, free: 5.441 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.5283, allocations: 1.514 MB / 1.56 GB, free: 3.922 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5283, allocations: 0 / 1.56 GB, free: 3.922 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5283, allocations: 0 / 1.56 GB, free: 3.922 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.5283, allocations: 0 / 1.56 GB, free: 3.922 MB / 1.248 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.001503/0.5298, allocations: 1.1 MB / 1.561 GB, free: 2.785 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.5299, allocations: 15.97 kB / 1.561 GB, free: 2.77 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.615e-05/0.5299, allocations: 18 kB / 1.561 GB, free: 2.754 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.53, allocations: 126.6 kB / 1.561 GB, free: 2.621 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.5317, allocations: 295.1 kB / 1.561 GB, free: 2.332 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009192/0.5326, allocations: 0.5049 MB / 1.562 GB, free: 1.797 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/0.5327, allocations: 61.97 kB / 1.562 GB, free: 1.734 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.516e-05/0.5328, allocations: 72 kB / 1.562 GB, free: 1.664 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.5341, allocations: 0.8986 MB / 1.563 GB, free: 0.707 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.5341, allocations: 0 / 1.563 GB, free: 0.707 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.5341, allocations: 32 kB / 1.563 GB, free: 0.6758 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.968e-05/0.5342, allocations: 49.23 kB / 1.563 GB, free: 0.6289 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009867/0.5352, allocations: 0.5671 MB / 1.564 GB, free: 64 kB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.5387, allocations: 3.431 MB / 1.567 GB, free: 12.45 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.5391, allocations: 211.7 kB / 1.567 GB, free: 12.21 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.5393, allocations: 138.5 kB / 1.567 GB, free: 12.07 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005575/0.5399, allocations: 104 kB / 1.567 GB, free: 11.97 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.5399, allocations: 42.5 kB / 1.567 GB, free: 11.92 MB / 1.264 GB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/0.5399, allocations: 0 / 1.567 GB, free: 11.92 MB / 1.264 GB Notification: Performance of matching and sorting (n=21): time 0.001146/0.541, allocations: 458.2 kB / 1.568 GB, free: 11.46 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.5411, allocations: 106.8 kB / 1.568 GB, free: 11.34 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.5421, allocations: 0.8683 MB / 1.569 GB, free: 10.46 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.5421, allocations: 29.7 kB / 1.569 GB, free: 10.42 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.5425, allocations: 388.2 kB / 1.569 GB, free: 10.04 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 6.321e-05/0.5425, allocations: 75.31 kB / 1.569 GB, free: 9.961 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.5426, allocations: 65.64 kB / 1.569 GB, free: 9.891 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.5427, allocations: 318 kB / 1.57 GB, free: 9.574 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.543, allocations: 103.9 kB / 1.57 GB, free: 9.473 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.5433, allocations: 215 kB / 1.57 GB, free: 9.223 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.5438, allocations: 312.2 kB / 1.57 GB, free: 8.879 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5438, allocations: 0 / 1.57 GB, free: 8.879 MB / 1.264 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006752/0.5444, allocations: 405.9 kB / 1.571 GB, free: 8.477 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.5445, allocations: 8 kB / 1.571 GB, free: 8.469 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5445, allocations: 0 / 1.571 GB, free: 8.469 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.5445, allocations: 11.94 kB / 1.571 GB, free: 8.457 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.5448, allocations: 60.31 kB / 1.571 GB, free: 8.398 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.5448, allocations: 15.94 kB / 1.571 GB, free: 8.383 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.5452, allocations: 83.33 kB / 1.571 GB, free: 8.301 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.5452, allocations: 12 kB / 1.571 GB, free: 8.289 MB / 1.264 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.0002656/0.5455, allocations: 233.6 kB / 1.571 GB, free: 8.051 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.5456, allocations: 83.48 kB / 1.571 GB, free: 7.969 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006168/0.5462, allocations: 322.4 kB / 1.571 GB, free: 7.648 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.5462, allocations: 8 kB / 1.571 GB, free: 7.641 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5462, allocations: 3.938 kB / 1.571 GB, free: 7.637 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5462, allocations: 3.938 kB / 1.571 GB, free: 7.633 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.5481, allocations: 1.345 MB / 1.573 GB, free: 6.184 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.5481, allocations: 4 kB / 1.573 GB, free: 6.18 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.5483, allocations: 43.91 kB / 1.573 GB, free: 6.137 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.5483, allocations: 7.938 kB / 1.573 GB, free: 6.129 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.5484, allocations: 12 kB / 1.573 GB, free: 6.117 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.5484, allocations: 7.984 kB / 1.573 GB, free: 6.109 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/0.5484, allocations: 11.94 kB / 1.573 GB, free: 6.098 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/0.549, allocations: 0.5095 MB / 1.573 GB, free: 5.52 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.5492, allocations: 115.4 kB / 1.573 GB, free: 5.406 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.589e-05/0.5493, allocations: 11.94 kB / 1.573 GB, free: 5.395 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.5496, allocations: 15.98 kB / 1.573 GB, free: 5.379 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.5497, allocations: 31.84 kB / 1.573 GB, free: 5.348 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.5497, allocations: 12 kB / 1.573 GB, free: 5.336 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007324/0.5504, allocations: 0.6122 MB / 1.574 GB, free: 4.73 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5504, allocations: 4 kB / 1.574 GB, free: 4.727 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.000544/0.551, allocations: 159.8 kB / 1.574 GB, free: 4.57 MB / 1.264 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.001132/0.5521, allocations: 1.134 MB / 1.575 GB, free: 3.355 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0005469/0.5526, allocations: 253.5 kB / 1.576 GB, free: 3.109 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5527, allocations: 4 kB / 1.576 GB, free: 3.105 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.5529, allocations: 128.7 kB / 1.576 GB, free: 2.98 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.5547, allocations: 429.6 kB / 1.576 GB, free: 2.562 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007431/0.5621, allocations: 5.999 MB / 1.582 GB, free: 12.25 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00058/0.5627, allocations: 0.9956 MB / 1.583 GB, free: 11.22 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0004701/0.5632, allocations: 154.2 kB / 1.583 GB, free: 11.07 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/0.5635, allocations: 275.3 kB / 1.583 GB, free: 10.8 MB / 1.279 GB Notification: Performance of SimCode: time 1.202e-06/0.5635, allocations: 0 / 1.583 GB, free: 10.8 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04606/0.6096, allocations: 21.1 MB / 1.604 GB, free: 6.039 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.01, allocations: 8.469 kB / 1.604 GB, free: 6.035 MB / 1.295 GB " [Timeout remaining time 288] (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/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: 18.61517091304995]