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.00146/0.00146, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.001569/0.001569, allocations: 205.5 kB / 20.13 MB, free: 3.078 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.393/1.393, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.806/2.806, allocations: 0.5003 GB / 0.8026 GB, free: 6.781 MB / 0.6387 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.001932/0.001932, allocations: 63.91 kB / 1.165 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9044/0.9063, allocations: 179 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2551/1.161, allocations: 197.8 MB / 1.533 GB, free: 2.309 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01358/1.175, allocations: 10.11 MB / 1.543 GB, free: 8.176 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/1.176, allocations: 39.62 kB / 1.543 GB, free: 8.137 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/1.177, allocations: 405 kB / 1.544 GB, free: 7.738 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002999/1.18, allocations: 1.069 MB / 1.545 GB, free: 6.664 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003275/1.183, allocations: 1.314 MB / 1.546 GB, free: 5.352 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002395/1.186, allocations: 1.686 MB / 1.548 GB, free: 3.66 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/1.187, allocations: 0.6871 MB / 1.548 GB, free: 2.953 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004213/1.191, allocations: 1.689 MB / 1.55 GB, free: 1.258 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007499/1.192, allocations: 0.5524 MB / 1.55 GB, free: 0.7031 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-05/1.192, allocations: 60 kB / 1.55 GB, free: 0.6445 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002947/1.195, allocations: 1.485 MB / 1.552 GB, free: 15.16 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004128/1.195, allocations: 355 kB / 1.552 GB, free: 14.81 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0005336/1.196, allocations: 441.8 kB / 1.553 GB, free: 14.38 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002851/1.199, allocations: 1.51 MB / 1.554 GB, free: 12.86 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/1.199, allocations: 0 / 1.554 GB, free: 12.86 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.835e-06/1.199, allocations: 0 / 1.554 GB, free: 12.86 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.303e-05/1.199, allocations: 0 / 1.554 GB, free: 12.86 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.001874/1.201, allocations: 1.171 MB / 1.555 GB, free: 11.63 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/1.201, allocations: 12.03 kB / 1.555 GB, free: 11.62 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.419e-05/1.201, allocations: 18 kB / 1.555 GB, free: 11.61 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/1.201, allocations: 122.6 kB / 1.555 GB, free: 11.48 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/1.203, allocations: 303.1 kB / 1.556 GB, free: 11.18 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/1.204, allocations: 0.5705 MB / 1.556 GB, free: 10.57 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.272e-05/1.204, allocations: 61.98 kB / 1.556 GB, free: 10.51 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/1.204, allocations: 72 kB / 1.556 GB, free: 10.44 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/1.206, allocations: 0.8986 MB / 1.557 GB, free: 9.484 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/1.206, allocations: 0 / 1.557 GB, free: 9.484 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.952e-05/1.206, allocations: 32 kB / 1.557 GB, free: 9.453 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.008e-05/1.206, allocations: 45.23 kB / 1.557 GB, free: 9.41 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/1.207, allocations: 0.5748 MB / 1.558 GB, free: 8.836 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003974/1.211, allocations: 3.502 MB / 1.561 GB, free: 5.141 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/1.211, allocations: 211.7 kB / 1.562 GB, free: 4.906 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/1.211, allocations: 134.5 kB / 1.562 GB, free: 4.766 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008989/1.212, allocations: 489.4 kB / 1.562 GB, free: 4.195 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/1.212, allocations: 42.48 kB / 1.562 GB, free: 4.145 MB / 1.232 GB Notification: Performance of pre-optimization done (n=21): time 1.943e-06/1.212, allocations: 0 / 1.562 GB, free: 4.145 MB / 1.232 GB Notification: Performance of matching and sorting (n=21): time 0.001345/1.214, allocations: 458.9 kB / 1.563 GB, free: 3.691 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.662e-05/1.214, allocations: 110.8 kB / 1.563 GB, free: 3.559 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/1.215, allocations: 0.8683 MB / 1.564 GB, free: 2.68 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/1.215, allocations: 25.7 kB / 1.564 GB, free: 2.648 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/1.215, allocations: 388.2 kB / 1.564 GB, free: 2.266 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/1.216, allocations: 75.31 kB / 1.564 GB, free: 2.191 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/1.216, allocations: 61.69 kB / 1.564 GB, free: 2.125 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001995/1.216, allocations: 322 kB / 1.564 GB, free: 1.805 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/1.216, allocations: 103.9 kB / 1.565 GB, free: 1.703 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/1.216, allocations: 215.6 kB / 1.565 GB, free: 1.453 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005461/1.217, allocations: 304.6 kB / 1.565 GB, free: 1.117 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.217, allocations: 3.938 kB / 1.565 GB, free: 1.113 MB / 1.232 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007733/1.218, allocations: 408.7 kB / 1.565 GB, free: 0.707 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.218, allocations: 8 kB / 1.565 GB, free: 0.6992 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.218, allocations: 0 / 1.565 GB, free: 0.6992 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/1.218, allocations: 11.94 kB / 1.565 GB, free: 0.6875 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/1.218, allocations: 56.25 kB / 1.565 GB, free: 0.6328 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/1.218, allocations: 11.94 kB / 1.565 GB, free: 0.6211 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/1.219, allocations: 83.28 kB / 1.566 GB, free: 0.5391 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/1.219, allocations: 16 kB / 1.566 GB, free: 0.5234 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.00029/1.219, allocations: 233.6 kB / 1.566 GB, free: 292 kB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/1.219, allocations: 83.55 kB / 1.566 GB, free: 208 kB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006899/1.22, allocations: 326.8 kB / 1.566 GB, free: 15.88 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/1.22, allocations: 8 kB / 1.566 GB, free: 15.87 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.22, allocations: 0 / 1.566 GB, free: 15.87 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.22, allocations: 0 / 1.566 GB, free: 15.87 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/1.222, allocations: 1.369 MB / 1.568 GB, free: 14.39 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.222, allocations: 4 kB / 1.568 GB, free: 14.39 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/1.222, allocations: 47.92 kB / 1.568 GB, free: 14.34 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.996e-06/1.222, allocations: 8.031 kB / 1.568 GB, free: 14.33 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/1.222, allocations: 11.98 kB / 1.568 GB, free: 14.32 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/1.222, allocations: 7.984 kB / 1.568 GB, free: 14.31 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.222, allocations: 7.938 kB / 1.568 GB, free: 14.3 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008257/1.223, allocations: 0.5174 MB / 1.568 GB, free: 13.72 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/1.223, allocations: 188.5 kB / 1.568 GB, free: 13.52 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/1.223, allocations: 15.94 kB / 1.568 GB, free: 13.5 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/1.224, allocations: 11.98 kB / 1.568 GB, free: 13.49 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/1.224, allocations: 27.86 kB / 1.568 GB, free: 13.46 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/1.224, allocations: 16 kB / 1.568 GB, free: 13.45 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008117/1.225, allocations: 0.6083 MB / 1.569 GB, free: 12.84 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/1.225, allocations: 0 / 1.569 GB, free: 12.84 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.000608/1.225, allocations: 163.8 kB / 1.569 GB, free: 12.68 MB / 1.248 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.001284/1.227, allocations: 1.13 MB / 1.57 GB, free: 11.48 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.000618/1.227, allocations: 257.1 kB / 1.57 GB, free: 11.23 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.227, allocations: 0 / 1.57 GB, free: 11.23 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002875/1.227, allocations: 136.8 kB / 1.571 GB, free: 11.09 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/1.229, allocations: 423.2 kB / 1.571 GB, free: 10.68 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008476/1.238, allocations: 6.015 MB / 1.577 GB, free: 4.34 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000711/1.239, allocations: 0.9956 MB / 1.578 GB, free: 3.316 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005621/1.239, allocations: 158.2 kB / 1.578 GB, free: 3.16 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/1.239, allocations: 271.3 kB / 1.578 GB, free: 2.895 MB / 1.248 GB Notification: Performance of SimCode: time 7.31e-07/1.239, allocations: 4 kB / 1.578 GB, free: 2.891 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04788/1.287, allocations: 20.85 MB / 1.599 GB, free: 14.38 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.238/10.53, allocations: 11.98 kB / 1.599 GB, free: 14.37 MB / 1.279 GB " [Timeout remaining time 289] (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: 16.65690901898779]