Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001484/0.001484, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00162/0.00162, allocations: 218 kB / 23.01 MB, free: 4.609 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.344/1.344, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.988/2.988, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 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: 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_latest_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_latest_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.001905/0.001905, allocations: 64.41 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3216, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1965/0.518, allocations: 179.8 MB / 1.53 GB, free: 3.504 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.5283, allocations: 8.84 MB / 1.538 GB, free: 10.64 MB / 1.233 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007175/0.529, allocations: 39.69 kB / 1.538 GB, free: 10.6 MB / 1.233 GB Notification: Performance of NFTyping.typeComponents: time 0.0007817/0.5298, allocations: 305.7 kB / 1.539 GB, free: 10.3 MB / 1.233 GB Notification: Performance of NFTyping.typeBindings: time 0.0007012/0.5305, allocations: 310.4 kB / 1.539 GB, free: 9.996 MB / 1.233 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.5315, allocations: 406.9 kB / 1.539 GB, free: 9.602 MB / 1.233 GB Notification: Performance of NFFlatten.flatten: time 0.001208/0.5327, allocations: 1.164 MB / 1.54 GB, free: 8.434 MB / 1.233 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006663/0.5334, allocations: 455.1 kB / 1.541 GB, free: 7.984 MB / 1.233 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004685/0.538, allocations: 2.164 MB / 1.543 GB, free: 5.812 MB / 1.233 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005061/0.5385, allocations: 370.3 kB / 1.543 GB, free: 5.449 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 6.301e-05/0.5386, allocations: 40 kB / 1.543 GB, free: 5.41 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.5388, allocations: 95.88 kB / 1.543 GB, free: 5.316 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.0002638/0.5391, allocations: 275.2 kB / 1.544 GB, free: 5.047 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.5394, allocations: 286.5 kB / 1.544 GB, free: 4.766 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.000713/0.5401, allocations: 0.6301 MB / 1.545 GB, free: 4.133 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5401, allocations: 3.984 kB / 1.545 GB, free: 4.129 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5401, allocations: 4 kB / 1.545 GB, free: 4.125 MB / 1.233 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.5401, allocations: 0 / 1.545 GB, free: 4.125 MB / 1.233 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.001005/0.5411, allocations: 0.7542 MB / 1.545 GB, free: 3.336 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.5411, allocations: 8.031 kB / 1.545 GB, free: 3.328 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.5412, allocations: 79.5 kB / 1.545 GB, free: 3.25 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006874/0.5419, allocations: 383.2 kB / 1.546 GB, free: 2.852 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.542, allocations: 41.3 kB / 1.546 GB, free: 2.812 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-05/0.542, allocations: 52 kB / 1.546 GB, free: 2.762 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00098/0.543, allocations: 0.6995 MB / 1.547 GB, free: 1.98 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.543, allocations: 7.938 kB / 1.547 GB, free: 1.973 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.5431, allocations: 20 kB / 1.547 GB, free: 1.953 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.936e-05/0.5431, allocations: 31.92 kB / 1.547 GB, free: 1.922 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006162/0.5437, allocations: 379.4 kB / 1.547 GB, free: 1.551 MB / 1.233 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/0.5464, allocations: 3.153 MB / 1.55 GB, free: 14.26 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.5467, allocations: 222.1 kB / 1.55 GB, free: 13.95 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.5469, allocations: 132.5 kB / 1.55 GB, free: 13.79 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.5469, allocations: 0 / 1.55 GB, free: 13.79 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.5469, allocations: 54.5 kB / 1.55 GB, free: 13.73 MB / 1.248 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.5469, allocations: 0 / 1.55 GB, free: 13.73 MB / 1.248 GB Notification: Performance of matching and sorting (n=10): time 0.0006621/0.5476, allocations: 254 kB / 1.551 GB, free: 13.47 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.5477, allocations: 290.8 kB / 1.551 GB, free: 13.12 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007614/0.5485, allocations: 0.6877 MB / 1.552 GB, free: 12.42 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.5485, allocations: 25.7 kB / 1.552 GB, free: 12.39 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.5487, allocations: 268.3 kB / 1.552 GB, free: 12.12 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.5488, allocations: 35.69 kB / 1.552 GB, free: 12.09 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.5488, allocations: 29.7 kB / 1.552 GB, free: 12.05 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.549, allocations: 366.8 kB / 1.552 GB, free: 11.69 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.5491, allocations: 43.91 kB / 1.552 GB, free: 11.64 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.5493, allocations: 97.09 kB / 1.552 GB, free: 11.53 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.5495, allocations: 125 kB / 1.553 GB, free: 11.39 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5495, allocations: 0 / 1.553 GB, free: 11.39 MB / 1.248 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003348/0.5498, allocations: 193.3 kB / 1.553 GB, free: 11.2 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5499, allocations: 8 kB / 1.553 GB, free: 11.19 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5499, allocations: 7.875 kB / 1.553 GB, free: 11.18 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5499, allocations: 4 kB / 1.553 GB, free: 11.18 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.5501, allocations: 39.89 kB / 1.553 GB, free: 11.14 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.5501, allocations: 4 kB / 1.553 GB, free: 11.13 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.5503, allocations: 63.69 kB / 1.553 GB, free: 11.07 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.5503, allocations: 8 kB / 1.553 GB, free: 11.06 MB / 1.248 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.0002017/0.5505, allocations: 201.9 kB / 1.553 GB, free: 10.86 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.5507, allocations: 67.58 kB / 1.553 GB, free: 10.79 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.146e-05/0.5508, allocations: 64.14 kB / 1.553 GB, free: 10.71 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5508, allocations: 4 kB / 1.553 GB, free: 10.71 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5508, allocations: 4 kB / 1.553 GB, free: 10.71 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.5508, allocations: 7.938 kB / 1.553 GB, free: 10.7 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.5522, allocations: 1.269 MB / 1.554 GB, free: 9.348 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.5522, allocations: 8.031 kB / 1.554 GB, free: 9.34 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.5524, allocations: 43.89 kB / 1.555 GB, free: 9.297 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5524, allocations: 0 / 1.555 GB, free: 9.297 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.5524, allocations: 8 kB / 1.555 GB, free: 9.289 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.5524, allocations: 4 kB / 1.555 GB, free: 9.285 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5524, allocations: 4 kB / 1.555 GB, free: 9.281 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.5528, allocations: 338.7 kB / 1.555 GB, free: 8.906 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.553, allocations: 79.53 kB / 1.555 GB, free: 8.828 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.553, allocations: 4 kB / 1.555 GB, free: 8.824 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.5532, allocations: 7.984 kB / 1.555 GB, free: 8.816 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.5532, allocations: 15.92 kB / 1.555 GB, free: 8.801 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.5532, allocations: 7.984 kB / 1.555 GB, free: 8.793 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005485/0.5538, allocations: 0.499 MB / 1.555 GB, free: 8.297 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.5538, allocations: 0 / 1.555 GB, free: 8.297 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0003676/0.5542, allocations: 87.89 kB / 1.556 GB, free: 8.211 MB / 1.248 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.0001873/0.5544, allocations: 119.1 kB / 1.556 GB, free: 8.086 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0003012/0.5547, allocations: 108 kB / 1.556 GB, free: 7.98 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5547, allocations: 0 / 1.556 GB, free: 7.98 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.5548, allocations: 59.83 kB / 1.556 GB, free: 7.922 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.556, allocations: 280.2 kB / 1.556 GB, free: 7.652 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.5573, allocations: 0.9438 MB / 1.557 GB, free: 6.641 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000514/0.5578, allocations: 0.905 MB / 1.558 GB, free: 5.711 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.5579, allocations: 35.44 kB / 1.558 GB, free: 5.676 MB / 1.248 GB Notification: Performance of SimCode: time 2.91e-07/0.5579, allocations: 0 / 1.558 GB, free: 5.676 MB / 1.248 GB Notification: Performance of Templates: time 0.01154/0.5694, allocations: 7.861 MB / 1.566 GB, free: 13.88 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.991000751993852]