Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.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.001714/0.001714, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002109/0.002109, allocations: 217.9 kB / 23.01 MB, free: 4.602 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.866/2.866, allocations: 476.8 MB / 0.7714 GB, free: 4.441 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: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h") [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.002132/0.002132, allocations: 67.67 kB / 1.119 GB, free: 40.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3725, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2365/0.6089, allocations: 179.7 MB / 1.46 GB, free: 6.844 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0118/0.6207, allocations: 8.835 MB / 1.469 GB, free: 13.98 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.6218, allocations: 31.69 kB / 1.469 GB, free: 13.95 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009162/0.6227, allocations: 309.7 kB / 1.469 GB, free: 13.65 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.000903/0.6236, allocations: 318.4 kB / 1.469 GB, free: 13.34 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.6249, allocations: 419.5 kB / 1.47 GB, free: 12.93 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00146/0.6263, allocations: 1.176 MB / 1.471 GB, free: 11.75 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007463/0.6271, allocations: 439.1 kB / 1.471 GB, free: 11.32 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005726/0.6328, allocations: 2.187 MB / 1.473 GB, free: 9.121 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006449/0.6334, allocations: 374.3 kB / 1.474 GB, free: 8.754 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.981e-05/0.6335, allocations: 40 kB / 1.474 GB, free: 8.715 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002415/0.6337, allocations: 91.89 kB / 1.474 GB, free: 8.625 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003037/0.6341, allocations: 267.2 kB / 1.474 GB, free: 8.363 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003218/0.6344, allocations: 286.5 kB / 1.475 GB, free: 8.082 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0008768/0.6353, allocations: 0.6379 MB / 1.475 GB, free: 7.441 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.6353, allocations: 0 / 1.475 GB, free: 7.441 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6353, allocations: 0 / 1.475 GB, free: 7.441 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.6353, allocations: 0 / 1.475 GB, free: 7.441 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001115/0.6364, allocations: 0.7658 MB / 1.476 GB, free: 6.641 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.6364, allocations: 8.031 kB / 1.476 GB, free: 6.633 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.6365, allocations: 75.52 kB / 1.476 GB, free: 6.559 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007712/0.6373, allocations: 379.2 kB / 1.476 GB, free: 6.164 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.6374, allocations: 41.31 kB / 1.476 GB, free: 6.125 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/0.6374, allocations: 51.98 kB / 1.476 GB, free: 6.074 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.6385, allocations: 0.7028 MB / 1.477 GB, free: 5.289 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.6385, allocations: 7.938 kB / 1.477 GB, free: 5.281 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.6386, allocations: 27.98 kB / 1.477 GB, free: 5.254 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.6386, allocations: 27.92 kB / 1.477 GB, free: 5.227 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006531/0.6393, allocations: 383.3 kB / 1.478 GB, free: 4.852 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002897/0.6422, allocations: 3.145 MB / 1.481 GB, free: 1.566 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.6424, allocations: 226.2 kB / 1.481 GB, free: 1.254 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.6427, allocations: 124.5 kB / 1.481 GB, free: 1.102 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.6427, allocations: 0 / 1.481 GB, free: 1.102 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.6427, allocations: 46.48 kB / 1.481 GB, free: 1.047 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.6427, allocations: 8 kB / 1.481 GB, free: 1.039 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.000723/0.6435, allocations: 254 kB / 1.481 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001824/0.6436, allocations: 290.8 kB / 1.481 GB, free: 444 kB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008222/0.6445, allocations: 0.6917 MB / 1.482 GB, free: 15.73 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.6445, allocations: 25.7 kB / 1.482 GB, free: 15.7 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.6447, allocations: 272.3 kB / 1.482 GB, free: 15.43 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.6448, allocations: 35.61 kB / 1.482 GB, free: 15.4 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.6448, allocations: 29.7 kB / 1.483 GB, free: 15.36 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002252/0.6451, allocations: 371 kB / 1.483 GB, free: 14.99 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.6452, allocations: 39.97 kB / 1.483 GB, free: 14.95 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.6453, allocations: 93.11 kB / 1.483 GB, free: 14.84 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.6456, allocations: 129 kB / 1.483 GB, free: 14.7 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6456, allocations: 0 / 1.483 GB, free: 14.7 MB / 1.186 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003522/0.646, allocations: 197.2 kB / 1.483 GB, free: 14.5 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.646, allocations: 11.92 kB / 1.483 GB, free: 14.49 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.646, allocations: 3.938 kB / 1.483 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.646, allocations: 4 kB / 1.483 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.6462, allocations: 35.97 kB / 1.483 GB, free: 14.45 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.6462, allocations: 3.984 kB / 1.483 GB, free: 14.44 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.6465, allocations: 55.64 kB / 1.483 GB, free: 14.39 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.6465, allocations: 16.05 kB / 1.483 GB, free: 14.37 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0002273/0.6467, allocations: 197.7 kB / 1.484 GB, free: 14.17 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.6469, allocations: 63.62 kB / 1.484 GB, free: 14.11 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.647, allocations: 68.19 kB / 1.484 GB, free: 14.03 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.647, allocations: 4 kB / 1.484 GB, free: 14.03 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.6471, allocations: 4 kB / 1.484 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.6471, allocations: 4 kB / 1.484 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.6486, allocations: 1.273 MB / 1.485 GB, free: 12.66 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6486, allocations: 8.031 kB / 1.485 GB, free: 12.66 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.6488, allocations: 39.91 kB / 1.485 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.6488, allocations: 4 kB / 1.485 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.6488, allocations: 3.984 kB / 1.485 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.6488, allocations: 4 kB / 1.485 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.6488, allocations: 4 kB / 1.485 GB, free: 12.6 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.6493, allocations: 346.6 kB / 1.485 GB, free: 12.22 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.6494, allocations: 75.59 kB / 1.485 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.6495, allocations: 4 kB / 1.485 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.6496, allocations: 7.984 kB / 1.485 GB, free: 12.13 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.6497, allocations: 16.2 kB / 1.485 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.6497, allocations: 8 kB / 1.486 GB, free: 12.11 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005948/0.6503, allocations: 0.4951 MB / 1.486 GB, free: 11.62 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6503, allocations: 3.938 kB / 1.486 GB, free: 11.61 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004026/0.6507, allocations: 79.94 kB / 1.486 GB, free: 11.54 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0002216/0.6509, allocations: 127.1 kB / 1.486 GB, free: 11.4 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.6512, allocations: 108.1 kB / 1.486 GB, free: 11.3 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6513, allocations: 3.938 kB / 1.486 GB, free: 11.29 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.6514, allocations: 63.83 kB / 1.486 GB, free: 11.23 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.6526, allocations: 275.2 kB / 1.487 GB, free: 10.96 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.6541, allocations: 0.9477 MB / 1.488 GB, free: 9.949 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/0.6547, allocations: 0.905 MB / 1.488 GB, free: 9.02 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.6547, allocations: 35.44 kB / 1.488 GB, free: 8.984 MB / 1.186 GB Notification: Performance of SimCode: time 5.91e-07/0.6547, allocations: 3.938 kB / 1.488 GB, free: 8.98 MB / 1.186 GB Notification: Performance of Templates: time 0.01319/0.6679, allocations: 7.862 MB / 1.496 GB, free: 1.188 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.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: 13.077489236020483]