Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001416/0.001416, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00167/0.00167, allocations: 215 kB / 22.25 MB, free: 5.262 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.464/3.464, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002134/0.002134, allocations: 73.14 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3485, allocations: 176.1 MB / 1.326 GB, free: 2 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2263/0.5748, allocations: 155.4 MB / 1.477 GB, free: 6.047 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.5872, allocations: 8.017 MB / 1.485 GB, free: 14.01 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009372/0.5881, allocations: 35.69 kB / 1.485 GB, free: 13.98 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.5893, allocations: 309.7 kB / 1.485 GB, free: 13.67 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.5905, allocations: 310.4 kB / 1.486 GB, free: 13.37 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.592, allocations: 394.5 kB / 1.486 GB, free: 12.98 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00191/0.5939, allocations: 1.148 MB / 1.487 GB, free: 11.83 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009741/0.5948, allocations: 455 kB / 1.488 GB, free: 11.38 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006132/0.601, allocations: 2.082 MB / 1.49 GB, free: 9.285 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007304/0.6017, allocations: 354.3 kB / 1.49 GB, free: 8.938 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.6018, allocations: 40 kB / 1.49 GB, free: 8.898 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/0.6021, allocations: 79.95 kB / 1.49 GB, free: 8.82 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003726/0.6025, allocations: 271.2 kB / 1.49 GB, free: 8.555 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004556/0.603, allocations: 234.8 kB / 1.491 GB, free: 8.324 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.604, allocations: 0.6341 MB / 1.491 GB, free: 7.688 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.604, allocations: 3.938 kB / 1.491 GB, free: 7.684 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.814e-06/0.604, allocations: 4 kB / 1.491 GB, free: 7.68 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.133e-05/0.604, allocations: 4 kB / 1.491 GB, free: 7.676 MB / 1.186 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.001475/0.6055, allocations: 0.7658 MB / 1.492 GB, free: 6.875 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.6056, allocations: 8.031 kB / 1.492 GB, free: 6.867 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.6057, allocations: 75.52 kB / 1.492 GB, free: 6.793 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008401/0.6066, allocations: 371.4 kB / 1.492 GB, free: 6.406 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/0.6066, allocations: 41.31 kB / 1.492 GB, free: 6.367 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.24e-05/0.6067, allocations: 51.98 kB / 1.493 GB, free: 6.316 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.6079, allocations: 0.7105 MB / 1.493 GB, free: 5.523 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.6079, allocations: 7.938 kB / 1.493 GB, free: 5.516 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/0.608, allocations: 27.92 kB / 1.493 GB, free: 5.488 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.14e-05/0.608, allocations: 35.92 kB / 1.493 GB, free: 5.453 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007274/0.6088, allocations: 367.4 kB / 1.494 GB, free: 5.094 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003057/0.6118, allocations: 2.877 MB / 1.496 GB, free: 2.094 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.6122, allocations: 214.1 kB / 1.497 GB, free: 1.793 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.6124, allocations: 128.5 kB / 1.497 GB, free: 1.637 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.6124, allocations: 4 kB / 1.497 GB, free: 1.633 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.6124, allocations: 42.5 kB / 1.497 GB, free: 1.582 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/0.6124, allocations: 4 kB / 1.497 GB, free: 1.578 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0007301/0.6132, allocations: 218.1 kB / 1.497 GB, free: 1.359 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000202/0.6134, allocations: 290.7 kB / 1.497 GB, free: 1.008 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.6137, allocations: 272.6 kB / 1.498 GB, free: 0.7305 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.6137, allocations: 29.7 kB / 1.498 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.614, allocations: 300.2 kB / 1.498 GB, free: 404 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.614, allocations: 39.67 kB / 1.498 GB, free: 364 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.6141, allocations: 33.7 kB / 1.498 GB, free: 324 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.6143, allocations: 339.1 kB / 1.498 GB, free: 15.98 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.6144, allocations: 35.97 kB / 1.498 GB, free: 15.94 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.6147, allocations: 225.5 kB / 1.499 GB, free: 15.67 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.6149, allocations: 125 kB / 1.499 GB, free: 15.53 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.6149, allocations: 0 / 1.499 GB, free: 15.53 MB / 1.201 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003655/0.6153, allocations: 165.6 kB / 1.499 GB, free: 15.36 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.6153, allocations: 4 kB / 1.499 GB, free: 15.36 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.6153, allocations: 0 / 1.499 GB, free: 15.36 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.6153, allocations: 11.88 kB / 1.499 GB, free: 15.35 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.6156, allocations: 48.08 kB / 1.499 GB, free: 15.3 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.6156, allocations: 0 / 1.499 GB, free: 15.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.6157, allocations: 15.98 kB / 1.499 GB, free: 15.29 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.6157, allocations: 4 kB / 1.499 GB, free: 15.28 MB / 1.201 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.0002489/0.616, allocations: 201.8 kB / 1.499 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.6162, allocations: 31.8 kB / 1.499 GB, free: 15.04 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.008e-05/0.6163, allocations: 32.97 kB / 1.499 GB, free: 15.01 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.6163, allocations: 3.938 kB / 1.499 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6163, allocations: 8 kB / 1.499 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.6163, allocations: 4 kB / 1.499 GB, free: 14.99 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.6179, allocations: 1.203 MB / 1.5 GB, free: 13.72 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.6179, allocations: 4.188 kB / 1.5 GB, free: 13.71 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.6181, allocations: 39.95 kB / 1.5 GB, free: 13.68 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.6181, allocations: 12.22 kB / 1.5 GB, free: 13.66 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.6181, allocations: 8.062 kB / 1.5 GB, free: 13.66 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.6181, allocations: 3.938 kB / 1.5 GB, free: 13.65 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.6181, allocations: 4 kB / 1.5 GB, free: 13.65 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.6186, allocations: 302.9 kB / 1.501 GB, free: 13.31 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.239e-05/0.6186, allocations: 35.8 kB / 1.501 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.6187, allocations: 4 kB / 1.501 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.6188, allocations: 12 kB / 1.501 GB, free: 13.26 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.6189, allocations: 19.86 kB / 1.501 GB, free: 13.24 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.6189, allocations: 4 kB / 1.501 GB, free: 13.23 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002291/0.6191, allocations: 195.1 kB / 1.501 GB, free: 13.05 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6191, allocations: 0 / 1.501 GB, free: 13.05 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005028/0.6196, allocations: 119.5 kB / 1.501 GB, free: 12.93 MB / 1.201 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.0002222/0.6198, allocations: 127.1 kB / 1.501 GB, free: 12.8 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000342/0.6202, allocations: 103.8 kB / 1.501 GB, free: 12.7 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6202, allocations: 0 / 1.501 GB, free: 12.7 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.6203, allocations: 59.89 kB / 1.501 GB, free: 12.64 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006906/0.621, allocations: 106.1 kB / 1.501 GB, free: 12.54 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.6225, allocations: 0.8289 MB / 1.502 GB, free: 11.65 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.6229, allocations: 312.7 kB / 1.503 GB, free: 11.32 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000158/0.623, allocations: 57.83 kB / 1.503 GB, free: 11.26 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.6231, allocations: 19.44 kB / 1.503 GB, free: 11.24 MB / 1.201 GB Notification: Performance of SimCode: time 5.91e-07/0.6231, allocations: 0 / 1.503 GB, free: 11.24 MB / 1.201 GB Notification: Performance of Templates: time 0.009689/0.6328, allocations: 3.862 MB / 1.506 GB, free: 7.484 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.728048473596573]