Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001525/0.001525, allocations: 101.3 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.001886/0.001886, allocations: 223.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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.724/2.724, allocations: 476.8 MB / 0.7715 GB, free: 3.887 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_11_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.002048/0.002048, allocations: 64.17 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3388, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2332/0.572, allocations: 171.6 MB / 1.452 GB, free: 14.42 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01354/0.5856, allocations: 9.241 MB / 1.461 GB, free: 5.16 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009819/0.5865, allocations: 43.62 kB / 1.461 GB, free: 5.117 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.5878, allocations: 405 kB / 1.461 GB, free: 4.719 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002892/0.5906, allocations: 1.046 MB / 1.462 GB, free: 3.668 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003444/0.5941, allocations: 1.327 MB / 1.463 GB, free: 2.34 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002606/0.5967, allocations: 1.725 MB / 1.465 GB, free: 0.6094 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.598, allocations: 0.6153 MB / 1.466 GB, free: 15.97 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003803/0.6018, allocations: 1.46 MB / 1.467 GB, free: 14.5 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.603, allocations: 0.5757 MB / 1.468 GB, free: 13.93 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.6032, allocations: 64 kB / 1.468 GB, free: 13.87 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/0.6058, allocations: 1.176 MB / 1.469 GB, free: 12.69 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000503/0.6063, allocations: 354.9 kB / 1.469 GB, free: 12.34 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006755/0.607, allocations: 362.3 kB / 1.47 GB, free: 11.98 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002946/0.61, allocations: 1.467 MB / 1.471 GB, free: 10.51 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.61, allocations: 0 / 1.471 GB, free: 10.51 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.724e-06/0.61, allocations: 0 / 1.471 GB, free: 10.51 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.85e-05/0.61, allocations: 0 / 1.471 GB, free: 10.51 MB / 1.17 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.002061/0.6121, allocations: 1.096 MB / 1.472 GB, free: 9.383 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.6121, allocations: 12.03 kB / 1.472 GB, free: 9.371 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.483e-05/0.6122, allocations: 22 kB / 1.472 GB, free: 9.348 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.6123, allocations: 122.6 kB / 1.472 GB, free: 9.219 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/0.6143, allocations: 303.1 kB / 1.473 GB, free: 8.922 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.6156, allocations: 0.501 MB / 1.473 GB, free: 8.391 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.544e-05/0.6157, allocations: 61.98 kB / 1.473 GB, free: 8.332 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.6158, allocations: 76 kB / 1.473 GB, free: 8.258 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.6176, allocations: 0.8947 MB / 1.474 GB, free: 7.301 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.6177, allocations: 0 / 1.474 GB, free: 7.301 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-05/0.6177, allocations: 32 kB / 1.474 GB, free: 7.27 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-05/0.6178, allocations: 41.23 kB / 1.474 GB, free: 7.23 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.619, allocations: 0.5749 MB / 1.475 GB, free: 6.656 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004402/0.6234, allocations: 2.986 MB / 1.478 GB, free: 3.562 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.6239, allocations: 219.7 kB / 1.478 GB, free: 3.32 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.6242, allocations: 146.8 kB / 1.478 GB, free: 3.168 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006741/0.6248, allocations: 104 kB / 1.478 GB, free: 3.066 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.6249, allocations: 46.52 kB / 1.478 GB, free: 3.012 MB / 1.17 GB Notification: Performance of pre-optimization done (n=21): time 2.184e-06/0.6249, allocations: 0 / 1.478 GB, free: 3.012 MB / 1.17 GB Notification: Performance of matching and sorting (n=21): time 0.001463/0.6263, allocations: 451.2 kB / 1.479 GB, free: 2.566 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/0.6264, allocations: 111 kB / 1.479 GB, free: 2.434 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.6278, allocations: 0.8684 MB / 1.479 GB, free: 1.555 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.523e-05/0.6279, allocations: 33.7 kB / 1.479 GB, free: 1.516 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.6283, allocations: 380.2 kB / 1.48 GB, free: 1.141 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 9.408e-05/0.6283, allocations: 83.3 kB / 1.48 GB, free: 1.059 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.6285, allocations: 61.66 kB / 1.48 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.6287, allocations: 318 kB / 1.48 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.6289, allocations: 99.92 kB / 1.48 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.6293, allocations: 339.6 kB / 1.481 GB, free: 180 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/0.6299, allocations: 317.3 kB / 1.481 GB, free: 15.83 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.6299, allocations: 0 / 1.481 GB, free: 15.83 MB / 1.186 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008363/0.6307, allocations: 408.5 kB / 1.481 GB, free: 15.42 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.6308, allocations: 4 kB / 1.481 GB, free: 15.42 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6308, allocations: 4.344 kB / 1.481 GB, free: 15.41 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.6308, allocations: 11.94 kB / 1.481 GB, free: 15.4 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.6311, allocations: 67.84 kB / 1.481 GB, free: 15.34 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.6311, allocations: 4 kB / 1.481 GB, free: 15.33 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004951/0.6316, allocations: 79.34 kB / 1.482 GB, free: 15.25 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.6317, allocations: 19.97 kB / 1.482 GB, free: 15.23 MB / 1.186 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.0003292/0.632, allocations: 229.7 kB / 1.482 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.6322, allocations: 87.47 kB / 1.482 GB, free: 14.91 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007135/0.6329, allocations: 328.7 kB / 1.482 GB, free: 14.58 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.6329, allocations: 7.938 kB / 1.482 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6329, allocations: 0 / 1.482 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.6329, allocations: 0 / 1.482 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.6353, allocations: 1.275 MB / 1.483 GB, free: 13.2 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.6353, allocations: 4 kB / 1.483 GB, free: 13.19 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.6355, allocations: 47.92 kB / 1.484 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.6355, allocations: 11.92 kB / 1.484 GB, free: 13.13 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.6355, allocations: 8.531 kB / 1.484 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.6355, allocations: 8 kB / 1.484 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.6355, allocations: 7.938 kB / 1.484 GB, free: 13.11 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007729/0.6363, allocations: 0.5161 MB / 1.484 GB, free: 12.53 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/0.6366, allocations: 115.4 kB / 1.484 GB, free: 12.41 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.6367, allocations: 11.94 kB / 1.484 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.6371, allocations: 15.98 kB / 1.484 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.6371, allocations: 31.84 kB / 1.484 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.6372, allocations: 16 kB / 1.484 GB, free: 12.34 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008459/0.638, allocations: 0.6083 MB / 1.485 GB, free: 11.73 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.638, allocations: 0 / 1.485 GB, free: 11.73 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007112/0.6387, allocations: 163.8 kB / 1.485 GB, free: 11.57 MB / 1.186 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.001302/0.64, allocations: 1.133 MB / 1.486 GB, free: 10.36 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006369/0.6407, allocations: 251.6 kB / 1.486 GB, free: 10.11 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.6407, allocations: 7.938 kB / 1.486 GB, free: 10.11 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.6409, allocations: 129 kB / 1.486 GB, free: 9.98 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.6429, allocations: 426.5 kB / 1.487 GB, free: 9.57 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008712/0.6516, allocations: 6 MB / 1.493 GB, free: 3.254 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.6521, allocations: 398 kB / 1.493 GB, free: 2.84 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0005623/0.6526, allocations: 154.2 kB / 1.493 GB, free: 2.688 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003882/0.653, allocations: 271.3 kB / 1.494 GB, free: 2.422 MB / 1.186 GB Notification: Performance of SimCode: time 9.52e-07/0.653, allocations: 0 / 1.494 GB, free: 2.422 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05291/0.7059, allocations: 22.58 MB / 1.516 GB, free: 12.48 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.03, allocations: 11.94 kB / 1.516 GB, free: 12.47 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 21.0121214609826]