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.001931/0.001931, allocations: 107.3 kB / 16.45 MB, free: 6.453 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.002403/0.002403, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.462/1.462, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.161/3.161, allocations: 0.4899 GB / 0.7916 GB, free: 33.21 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.003233/0.003233, allocations: 69.03 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.376, allocations: 176.1 MB / 1.321 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.223/0.599, allocations: 179.5 MB / 1.497 GB, free: 14.62 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.6107, allocations: 8.77 MB / 1.505 GB, free: 5.832 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009238/0.6116, allocations: 35.69 kB / 1.505 GB, free: 5.797 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009193/0.6126, allocations: 301.7 kB / 1.505 GB, free: 5.5 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.000963/0.6135, allocations: 314.4 kB / 1.506 GB, free: 5.191 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.6147, allocations: 378.1 kB / 1.506 GB, free: 4.824 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001449/0.6161, allocations: 1.144 MB / 1.507 GB, free: 3.672 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007942/0.6169, allocations: 0.5022 MB / 1.508 GB, free: 3.168 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005637/0.6226, allocations: 2.125 MB / 1.51 GB, free: 1.035 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006813/0.6232, allocations: 374.4 kB / 1.51 GB, free: 0.668 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 8.321e-05/0.6233, allocations: 40 kB / 1.51 GB, free: 0.6289 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.6236, allocations: 79.97 kB / 1.51 GB, free: 0.5508 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000316/0.6239, allocations: 267.2 kB / 1.511 GB, free: 296 kB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000353/0.6243, allocations: 286.5 kB / 1.511 GB, free: 8 kB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.6253, allocations: 0.6379 MB / 1.511 GB, free: 15.37 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.6253, allocations: 0 / 1.511 GB, free: 15.37 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6253, allocations: 0 / 1.511 GB, free: 15.37 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.6253, allocations: 0 / 1.511 GB, free: 15.37 MB / 1.217 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.001352/0.6266, allocations: 0.845 MB / 1.512 GB, free: 14.47 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.6267, allocations: 11.98 kB / 1.512 GB, free: 14.46 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.6268, allocations: 75.52 kB / 1.512 GB, free: 14.38 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008103/0.6276, allocations: 438.5 kB / 1.513 GB, free: 13.91 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.6277, allocations: 37.31 kB / 1.513 GB, free: 13.88 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.694e-05/0.6278, allocations: 55.98 kB / 1.513 GB, free: 13.82 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.6289, allocations: 0.6988 MB / 1.514 GB, free: 13.04 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.6289, allocations: 0 / 1.514 GB, free: 13.04 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.426e-05/0.629, allocations: 31.98 kB / 1.514 GB, free: 13.01 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.994e-05/0.629, allocations: 35.86 kB / 1.514 GB, free: 12.98 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006954/0.6297, allocations: 379.4 kB / 1.514 GB, free: 12.61 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003148/0.6329, allocations: 3.216 MB / 1.517 GB, free: 9.246 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.6332, allocations: 214.2 kB / 1.517 GB, free: 8.945 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.6334, allocations: 128.5 kB / 1.517 GB, free: 8.789 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.6335, allocations: 3.984 kB / 1.517 GB, free: 8.785 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/0.6335, allocations: 54.48 kB / 1.517 GB, free: 8.723 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.6335, allocations: 0 / 1.517 GB, free: 8.723 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0007797/0.6343, allocations: 257.7 kB / 1.518 GB, free: 8.465 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000188/0.6345, allocations: 290.7 kB / 1.518 GB, free: 8.113 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00087/0.6354, allocations: 0.6877 MB / 1.519 GB, free: 7.414 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.6354, allocations: 30.11 kB / 1.519 GB, free: 7.379 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.6356, allocations: 272.2 kB / 1.519 GB, free: 7.109 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.6357, allocations: 39.69 kB / 1.519 GB, free: 7.07 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.426e-05/0.6357, allocations: 29.7 kB / 1.519 GB, free: 7.035 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.636, allocations: 370.8 kB / 1.519 GB, free: 6.664 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.6361, allocations: 31.97 kB / 1.519 GB, free: 6.633 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.6363, allocations: 101 kB / 1.519 GB, free: 6.516 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.6365, allocations: 125 kB / 1.52 GB, free: 6.375 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6365, allocations: 0 / 1.52 GB, free: 6.375 MB / 1.217 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000386/0.6369, allocations: 193.1 kB / 1.52 GB, free: 6.18 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.6369, allocations: 8.328 kB / 1.52 GB, free: 6.172 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6369, allocations: 3.938 kB / 1.52 GB, free: 6.168 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.637, allocations: 8.188 kB / 1.52 GB, free: 6.16 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.6372, allocations: 39.89 kB / 1.52 GB, free: 6.121 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.6372, allocations: 7.938 kB / 1.52 GB, free: 6.113 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.6374, allocations: 59.5 kB / 1.52 GB, free: 6.055 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.6375, allocations: 8 kB / 1.52 GB, free: 6.047 MB / 1.217 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.0002707/0.6377, allocations: 197.8 kB / 1.52 GB, free: 5.844 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.638, allocations: 59.62 kB / 1.52 GB, free: 5.785 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.986e-05/0.6381, allocations: 68.25 kB / 1.52 GB, free: 5.707 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.6381, allocations: 4 kB / 1.52 GB, free: 5.703 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.6381, allocations: 8.062 kB / 1.52 GB, free: 5.695 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.6381, allocations: 4 kB / 1.52 GB, free: 5.691 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.6396, allocations: 1.297 MB / 1.522 GB, free: 4.305 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.6396, allocations: 4 kB / 1.522 GB, free: 4.301 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.6399, allocations: 39.95 kB / 1.522 GB, free: 4.262 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.6399, allocations: 288 / 1.522 GB, free: 4.262 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.6399, allocations: 12 kB / 1.522 GB, free: 4.25 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.6399, allocations: 7.938 kB / 1.522 GB, free: 4.242 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.6399, allocations: 4 kB / 1.522 GB, free: 4.238 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.6403, allocations: 350.8 kB / 1.522 GB, free: 3.852 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.6405, allocations: 148.7 kB / 1.522 GB, free: 3.688 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/0.6406, allocations: 4 kB / 1.522 GB, free: 3.684 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.6407, allocations: 15.98 kB / 1.522 GB, free: 3.668 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.6408, allocations: 15.86 kB / 1.522 GB, free: 3.652 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.6408, allocations: 8 kB / 1.522 GB, free: 3.645 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006054/0.6414, allocations: 0.4912 MB / 1.523 GB, free: 3.156 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6414, allocations: 0 / 1.523 GB, free: 3.156 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004267/0.6418, allocations: 87.89 kB / 1.523 GB, free: 3.07 MB / 1.217 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.0002548/0.6421, allocations: 123.2 kB / 1.523 GB, free: 2.938 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003419/0.6424, allocations: 103.8 kB / 1.523 GB, free: 2.836 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6424, allocations: 0 / 1.523 GB, free: 2.836 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.6426, allocations: 60.77 kB / 1.523 GB, free: 2.777 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.6439, allocations: 287 kB / 1.523 GB, free: 2.504 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.6454, allocations: 0.8793 MB / 1.524 GB, free: 1.566 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/0.646, allocations: 0.905 MB / 1.525 GB, free: 0.6367 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002509/0.6462, allocations: 108.6 kB / 1.525 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.046e-05/0.6463, allocations: 39.38 kB / 1.525 GB, free: 0.4922 MB / 1.217 GB Notification: Performance of SimCode: time 6.92e-07/0.6463, allocations: 0 / 1.525 GB, free: 0.4922 MB / 1.217 GB Notification: Performance of Templates: time 0.01778/0.6641, allocations: 8.512 MB / 1.533 GB, free: 8.105 MB / 1.232 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.297328557819128]