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.001446/0.001446, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001684/0.001684, allocations: 217.6 kB / 22.25 MB, free: 5.121 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.325/1.325, allocations: 230.6 MB / 256 MB, free: 7.992 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.915/2.915, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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="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: 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.001883/0.001883, allocations: 63.16 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2791, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2134/0.4925, allocations: 198.2 MB / 1.546 GB, free: 1.551 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.5051, allocations: 10.16 MB / 1.556 GB, free: 7.367 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008294/0.506, allocations: 39.62 kB / 1.556 GB, free: 7.328 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.5071, allocations: 412.9 kB / 1.557 GB, free: 6.922 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.002982/0.5101, allocations: 1.069 MB / 1.558 GB, free: 5.848 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.5135, allocations: 1.381 MB / 1.559 GB, free: 4.465 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.002382/0.5159, allocations: 1.709 MB / 1.561 GB, free: 2.75 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.517, allocations: 0.6098 MB / 1.561 GB, free: 2.117 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003601/0.5206, allocations: 1.72 MB / 1.563 GB, free: 400 kB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008768/0.5215, allocations: 0.5484 MB / 1.564 GB, free: 15.84 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.5216, allocations: 64 kB / 1.564 GB, free: 15.78 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.5243, allocations: 1.504 MB / 1.565 GB, free: 14.27 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0004188/0.5247, allocations: 362.9 kB / 1.566 GB, free: 13.91 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0005509/0.5253, allocations: 433.9 kB / 1.566 GB, free: 13.49 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.5277, allocations: 1.518 MB / 1.567 GB, free: 11.96 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5277, allocations: 0 / 1.567 GB, free: 11.96 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5277, allocations: 0 / 1.567 GB, free: 11.96 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.725e-05/0.5277, allocations: 0 / 1.567 GB, free: 11.96 MB / 1.264 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.5294, allocations: 1.096 MB / 1.568 GB, free: 10.84 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.5294, allocations: 12.03 kB / 1.568 GB, free: 10.82 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.5296, allocations: 130.6 kB / 1.569 GB, free: 10.69 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.5312, allocations: 295.1 kB / 1.569 GB, free: 10.4 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.5323, allocations: 0.4972 MB / 1.569 GB, free: 9.875 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/0.5323, allocations: 57.94 kB / 1.569 GB, free: 9.816 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.47e-05/0.5324, allocations: 75.98 kB / 1.57 GB, free: 9.742 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.5338, allocations: 0.8909 MB / 1.57 GB, free: 8.793 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.5338, allocations: 7.938 kB / 1.57 GB, free: 8.785 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.296e-05/0.5339, allocations: 39.92 kB / 1.57 GB, free: 8.746 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.067e-05/0.5339, allocations: 37.28 kB / 1.57 GB, free: 8.711 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.535, allocations: 0.5748 MB / 1.571 GB, free: 8.133 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003799/0.5388, allocations: 3.431 MB / 1.574 GB, free: 4.52 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.5391, allocations: 219.7 kB / 1.575 GB, free: 4.277 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.5394, allocations: 134.5 kB / 1.575 GB, free: 4.137 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005953/0.54, allocations: 112 kB / 1.575 GB, free: 4.027 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.54, allocations: 38.56 kB / 1.575 GB, free: 3.98 MB / 1.264 GB Notification: Performance of pre-optimization done (n=21): time 1.303e-06/0.54, allocations: 0 / 1.575 GB, free: 3.98 MB / 1.264 GB Notification: Performance of matching and sorting (n=21): time 0.001223/0.5412, allocations: 462.8 kB / 1.575 GB, free: 3.523 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.5413, allocations: 106.8 kB / 1.575 GB, free: 3.395 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.5424, allocations: 0.8644 MB / 1.576 GB, free: 2.516 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.5425, allocations: 37.77 kB / 1.576 GB, free: 2.473 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.5428, allocations: 384.2 kB / 1.577 GB, free: 2.094 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/0.5429, allocations: 79.3 kB / 1.577 GB, free: 2.016 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.543, allocations: 57.7 kB / 1.577 GB, free: 1.953 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5431, allocations: 318 kB / 1.577 GB, free: 1.637 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.5433, allocations: 99.92 kB / 1.577 GB, free: 1.539 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.5436, allocations: 211 kB / 1.577 GB, free: 1.293 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005149/0.5442, allocations: 312.8 kB / 1.578 GB, free: 0.9492 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5442, allocations: 0 / 1.578 GB, free: 0.9492 MB / 1.264 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007349/0.5449, allocations: 417 kB / 1.578 GB, free: 0.5352 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.5449, allocations: 6.969 kB / 1.578 GB, free: 0.5312 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5449, allocations: 4 kB / 1.578 GB, free: 0.5273 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.5449, allocations: 7.938 kB / 1.578 GB, free: 0.5195 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.5452, allocations: 63.91 kB / 1.578 GB, free: 468 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.5453, allocations: 4 kB / 1.578 GB, free: 464 kB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.5457, allocations: 79.34 kB / 1.578 GB, free: 384 kB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.5457, allocations: 12 kB / 1.578 GB, free: 372 kB / 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.0002971/0.546, allocations: 241.6 kB / 1.578 GB, free: 120 kB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.5462, allocations: 79.48 kB / 1.579 GB, free: 40 kB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006421/0.5468, allocations: 330.5 kB / 1.579 GB, free: 15.71 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5468, allocations: 48 / 1.579 GB, free: 15.71 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.5468, allocations: 7.984 kB / 1.579 GB, free: 15.7 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5468, allocations: 3.938 kB / 1.579 GB, free: 15.7 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.5489, allocations: 1.337 MB / 1.58 GB, free: 14.26 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.5489, allocations: 4.531 kB / 1.58 GB, free: 14.25 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.5491, allocations: 51.91 kB / 1.58 GB, free: 14.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.5491, allocations: 4 kB / 1.58 GB, free: 14.2 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.5492, allocations: 15.94 kB / 1.58 GB, free: 14.18 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.5492, allocations: 7.938 kB / 1.58 GB, free: 14.18 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5492, allocations: 4 kB / 1.58 GB, free: 14.17 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006811/0.5498, allocations: 0.5181 MB / 1.581 GB, free: 13.59 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.5501, allocations: 115.4 kB / 1.581 GB, free: 13.47 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.103e-05/0.5502, allocations: 11.98 kB / 1.581 GB, free: 13.46 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/0.5505, allocations: 19.94 kB / 1.581 GB, free: 13.44 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.5506, allocations: 23.91 kB / 1.581 GB, free: 13.42 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.5506, allocations: 19.94 kB / 1.581 GB, free: 13.4 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007938/0.5514, allocations: 0.6083 MB / 1.582 GB, free: 12.8 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5514, allocations: 0 / 1.582 GB, free: 12.8 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0005654/0.5519, allocations: 171.8 kB / 1.582 GB, free: 12.63 MB / 1.279 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.001177/0.5531, allocations: 1.13 MB / 1.583 GB, free: 11.42 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0005519/0.5537, allocations: 259.8 kB / 1.583 GB, free: 11.16 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5537, allocations: 0 / 1.583 GB, free: 11.16 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.5539, allocations: 125.2 kB / 1.583 GB, free: 11.04 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.5556, allocations: 418.7 kB / 1.584 GB, free: 10.63 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007964/0.5636, allocations: 5.991 MB / 1.589 GB, free: 4.316 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/0.5643, allocations: 0.9994 MB / 1.59 GB, free: 3.289 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.000484/0.5648, allocations: 162.2 kB / 1.591 GB, free: 3.129 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003695/0.5652, allocations: 271.4 kB / 1.591 GB, free: 2.867 MB / 1.279 GB Notification: Performance of SimCode: time 7.51e-07/0.5652, allocations: 0 / 1.591 GB, free: 2.867 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5664/1.132, allocations: 21.07 MB / 1.611 GB, free: 257.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/12.35, allocations: 12.33 kB / 1.611 GB, free: 257.2 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.350230600917712]