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.001536/0.001536, 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.001765/0.001765, allocations: 219.6 kB / 23.03 MB, free: 4.945 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.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 3.077/3.077, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 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.00197/0.00197, allocations: 65.2 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3555, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2247/0.5802, allocations: 171.7 MB / 1.513 GB, free: 3.625 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01392/0.5942, allocations: 9.227 MB / 1.522 GB, free: 10.38 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.5952, allocations: 39.62 kB / 1.522 GB, free: 10.34 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.5965, allocations: 409 kB / 1.522 GB, free: 9.934 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00319/0.5997, allocations: 1.03 MB / 1.523 GB, free: 8.898 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003704/0.6034, allocations: 1.343 MB / 1.525 GB, free: 7.555 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002739/0.6061, allocations: 1.705 MB / 1.526 GB, free: 5.844 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.6075, allocations: 0.6098 MB / 1.527 GB, free: 5.215 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004553/0.6121, allocations: 1.685 MB / 1.529 GB, free: 3.523 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.6135, allocations: 0.5407 MB / 1.529 GB, free: 2.98 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003741/0.6139, allocations: 60 kB / 1.529 GB, free: 2.922 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003413/0.6173, allocations: 1.169 MB / 1.53 GB, free: 1.75 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006803/0.618, allocations: 351 kB / 1.531 GB, free: 1.406 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0009544/0.6189, allocations: 370.3 kB / 1.531 GB, free: 1.043 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00369/0.6226, allocations: 1.467 MB / 1.532 GB, free: 15.57 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.6226, allocations: 4 kB / 1.532 GB, free: 15.57 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6226, allocations: 0 / 1.532 GB, free: 15.57 MB / 1.232 GB Notification: Performance of Transformations before backend: time 5.156e-05/0.6227, allocations: 0 / 1.532 GB, free: 15.57 MB / 1.232 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.002092/0.6248, allocations: 1.096 MB / 1.534 GB, free: 14.43 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.6248, allocations: 8.031 kB / 1.534 GB, free: 14.43 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.544e-05/0.6249, allocations: 22 kB / 1.534 GB, free: 14.41 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/0.625, allocations: 122.6 kB / 1.534 GB, free: 14.28 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.6269, allocations: 299.1 kB / 1.534 GB, free: 13.98 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.6282, allocations: 0.5049 MB / 1.534 GB, free: 13.45 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/0.6282, allocations: 57.98 kB / 1.534 GB, free: 13.39 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.6283, allocations: 72 kB / 1.535 GB, free: 13.32 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.63, allocations: 0.8986 MB / 1.535 GB, free: 12.36 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.63, allocations: 0 / 1.535 GB, free: 12.36 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-05/0.6301, allocations: 36 kB / 1.535 GB, free: 12.33 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.266e-05/0.6302, allocations: 41.23 kB / 1.535 GB, free: 12.29 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.6313, allocations: 0.5788 MB / 1.536 GB, free: 11.71 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004048/0.6353, allocations: 2.997 MB / 1.539 GB, free: 8.605 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.6358, allocations: 213.5 kB / 1.539 GB, free: 8.371 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.636, allocations: 146.4 kB / 1.539 GB, free: 8.219 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006346/0.6367, allocations: 103.9 kB / 1.539 GB, free: 8.117 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.6367, allocations: 34.56 kB / 1.539 GB, free: 8.074 MB / 1.232 GB Notification: Performance of pre-optimization done (n=21): time 1.853e-06/0.6367, allocations: 0 / 1.539 GB, free: 8.074 MB / 1.232 GB Notification: Performance of matching and sorting (n=21): time 0.001323/0.638, allocations: 458.8 kB / 1.54 GB, free: 7.621 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.515e-05/0.6381, allocations: 110.8 kB / 1.54 GB, free: 7.488 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.6393, allocations: 0.8683 MB / 1.541 GB, free: 6.609 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.6393, allocations: 29.7 kB / 1.541 GB, free: 6.574 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003542/0.6397, allocations: 384.2 kB / 1.541 GB, free: 6.191 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 9.917e-05/0.6398, allocations: 83.3 kB / 1.541 GB, free: 6.109 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.6399, allocations: 57.7 kB / 1.541 GB, free: 6.047 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6401, allocations: 322 kB / 1.542 GB, free: 5.727 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.6403, allocations: 95.92 kB / 1.542 GB, free: 5.633 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.6407, allocations: 339.6 kB / 1.542 GB, free: 5.23 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005344/0.6412, allocations: 312.4 kB / 1.542 GB, free: 4.887 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.6412, allocations: 0 / 1.542 GB, free: 4.887 MB / 1.232 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007837/0.642, allocations: 406.1 kB / 1.543 GB, free: 4.484 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.642, allocations: 4 kB / 1.543 GB, free: 4.48 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.642, allocations: 7.938 kB / 1.543 GB, free: 4.473 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.6421, allocations: 7.938 kB / 1.543 GB, free: 4.465 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.6424, allocations: 63.91 kB / 1.543 GB, free: 4.402 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.6424, allocations: 4 kB / 1.543 GB, free: 4.398 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.6429, allocations: 91.66 kB / 1.543 GB, free: 4.309 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.6429, allocations: 19.98 kB / 1.543 GB, free: 4.289 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.0003193/0.6432, allocations: 233.6 kB / 1.543 GB, free: 4.051 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.6434, allocations: 83.47 kB / 1.543 GB, free: 3.969 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006864/0.6441, allocations: 328.6 kB / 1.544 GB, free: 3.641 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.6441, allocations: 0 / 1.544 GB, free: 3.641 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6441, allocations: 4 kB / 1.544 GB, free: 3.637 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6441, allocations: 0 / 1.544 GB, free: 3.637 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.6463, allocations: 1.283 MB / 1.545 GB, free: 2.25 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.6463, allocations: 8.031 kB / 1.545 GB, free: 2.242 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.6465, allocations: 43.92 kB / 1.545 GB, free: 2.199 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/0.6465, allocations: 11.94 kB / 1.545 GB, free: 2.188 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.6465, allocations: 7.984 kB / 1.545 GB, free: 2.18 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/0.6465, allocations: 8 kB / 1.545 GB, free: 2.172 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.6465, allocations: 7.938 kB / 1.545 GB, free: 2.164 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006976/0.6472, allocations: 0.5143 MB / 1.545 GB, free: 1.582 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.6475, allocations: 115.4 kB / 1.546 GB, free: 1.469 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.6477, allocations: 11.94 kB / 1.546 GB, free: 1.457 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.648, allocations: 15.98 kB / 1.546 GB, free: 1.441 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.6481, allocations: 31.84 kB / 1.546 GB, free: 1.41 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.6481, allocations: 12 kB / 1.546 GB, free: 1.398 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008322/0.649, allocations: 0.6083 MB / 1.546 GB, free: 0.7969 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.21e-07/0.649, allocations: 0 / 1.546 GB, free: 0.7969 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0006231/0.6496, allocations: 159.8 kB / 1.546 GB, free: 0.6406 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.001274/0.6508, allocations: 1.145 MB / 1.547 GB, free: 15.41 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0006011/0.6515, allocations: 260.2 kB / 1.548 GB, free: 15.16 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6515, allocations: 0 / 1.548 GB, free: 15.16 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.6517, allocations: 127.7 kB / 1.548 GB, free: 15.04 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.6537, allocations: 421.7 kB / 1.548 GB, free: 14.63 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009166/0.6629, allocations: 5.995 MB / 1.554 GB, free: 8.32 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.6634, allocations: 398 kB / 1.554 GB, free: 7.906 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005877/0.6639, allocations: 166.2 kB / 1.555 GB, free: 7.742 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003908/0.6643, allocations: 271.3 kB / 1.555 GB, free: 7.477 MB / 1.248 GB Notification: Performance of SimCode: time 9.42e-07/0.6643, allocations: 0 / 1.555 GB, free: 7.477 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05289/0.7172, allocations: 22.57 MB / 1.577 GB, free: 1.453 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.8, allocations: 20.02 kB / 1.577 GB, free: 1.441 MB / 1.264 GB " [Timeout remaining time 287] (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: 19.42547206301242]