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.001621/0.001621, 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.001844/0.001844, allocations: 209.9 kB / 22.24 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.547/1.547, allocations: 230.6 MB / 256 MB, free: 7.781 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 3.421/3.421, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] 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.002101/0.002101, allocations: 66.25 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3884, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.213/0.6014, allocations: 155.4 MB / 1.516 GB, free: 1.66 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.6142, allocations: 8.02 MB / 1.523 GB, free: 9.621 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.6152, allocations: 35.69 kB / 1.523 GB, free: 9.586 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0009836/0.6161, allocations: 313.7 kB / 1.524 GB, free: 9.277 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.0009533/0.6171, allocations: 318.4 kB / 1.524 GB, free: 8.965 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.6183, allocations: 387 kB / 1.524 GB, free: 8.59 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001521/0.6198, allocations: 1.152 MB / 1.526 GB, free: 7.434 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008057/0.6206, allocations: 455 kB / 1.526 GB, free: 6.98 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00566/0.6263, allocations: 2.078 MB / 1.528 GB, free: 4.895 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006522/0.6269, allocations: 350.4 kB / 1.528 GB, free: 4.551 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 7.905e-05/0.627, allocations: 40 kB / 1.528 GB, free: 4.512 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.6273, allocations: 87.94 kB / 1.528 GB, free: 4.426 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003287/0.6276, allocations: 271.2 kB / 1.529 GB, free: 4.16 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002975/0.6279, allocations: 226.9 kB / 1.529 GB, free: 3.938 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0008466/0.6288, allocations: 0.6456 MB / 1.53 GB, free: 3.289 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.6288, allocations: 0 / 1.53 GB, free: 3.289 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.415e-06/0.6288, allocations: 0 / 1.53 GB, free: 3.289 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.6288, allocations: 4 kB / 1.53 GB, free: 3.285 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.001203/0.63, allocations: 0.7581 MB / 1.53 GB, free: 2.492 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.63, allocations: 8.031 kB / 1.53 GB, free: 2.484 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.6302, allocations: 75.52 kB / 1.53 GB, free: 2.41 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008253/0.631, allocations: 371.4 kB / 1.531 GB, free: 2.02 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.965e-05/0.631, allocations: 49.23 kB / 1.531 GB, free: 1.973 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.93e-05/0.6311, allocations: 48 kB / 1.531 GB, free: 1.926 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.6323, allocations: 0.7076 MB / 1.532 GB, free: 1.137 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.6323, allocations: 7.938 kB / 1.532 GB, free: 1.129 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.054e-05/0.6324, allocations: 20 kB / 1.532 GB, free: 1.109 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.308e-05/0.6324, allocations: 35.91 kB / 1.532 GB, free: 1.074 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007143/0.6332, allocations: 379.4 kB / 1.532 GB, free: 0.7031 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002851/0.636, allocations: 2.869 MB / 1.535 GB, free: 13.71 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.6363, allocations: 222.2 kB / 1.535 GB, free: 13.4 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.6365, allocations: 124.5 kB / 1.535 GB, free: 13.25 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.6366, allocations: 4 kB / 1.535 GB, free: 13.25 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.6366, allocations: 46.48 kB / 1.535 GB, free: 13.19 MB / 1.232 GB Notification: Performance of pre-optimization done (n=10): time 2.404e-06/0.6366, allocations: 4 kB / 1.535 GB, free: 13.19 MB / 1.232 GB Notification: Performance of matching and sorting (n=10): time 0.0007177/0.6373, allocations: 222.3 kB / 1.535 GB, free: 12.96 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002071/0.6375, allocations: 290.7 kB / 1.536 GB, free: 12.61 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003332/0.6379, allocations: 268.6 kB / 1.536 GB, free: 12.34 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.6379, allocations: 29.73 kB / 1.536 GB, free: 12.31 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.6381, allocations: 308.2 kB / 1.536 GB, free: 12 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.6382, allocations: 31.7 kB / 1.536 GB, free: 11.97 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.6382, allocations: 37.64 kB / 1.536 GB, free: 11.93 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.6384, allocations: 334.8 kB / 1.537 GB, free: 11.59 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.6385, allocations: 39.95 kB / 1.537 GB, free: 11.55 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.6388, allocations: 221.6 kB / 1.537 GB, free: 11.29 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.6391, allocations: 129 kB / 1.537 GB, free: 11.14 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6391, allocations: 0 / 1.537 GB, free: 11.14 MB / 1.232 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003395/0.6394, allocations: 157.5 kB / 1.537 GB, free: 10.98 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.6394, allocations: 8 kB / 1.537 GB, free: 10.97 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.6394, allocations: 0 / 1.537 GB, free: 10.97 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/0.6395, allocations: 7.938 kB / 1.537 GB, free: 10.96 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.6397, allocations: 35.95 kB / 1.537 GB, free: 10.93 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.6397, allocations: 7.938 kB / 1.537 GB, free: 10.92 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.6399, allocations: 19.94 kB / 1.537 GB, free: 10.9 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.6399, allocations: 4 kB / 1.537 GB, free: 10.9 MB / 1.232 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.0002829/0.6402, allocations: 205.8 kB / 1.537 GB, free: 10.69 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.6403, allocations: 27.86 kB / 1.537 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.6404, allocations: 32.97 kB / 1.537 GB, free: 10.63 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.6404, allocations: 3.938 kB / 1.537 GB, free: 10.62 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.6404, allocations: 4 kB / 1.537 GB, free: 10.62 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.6404, allocations: 4 kB / 1.537 GB, free: 10.62 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.642, allocations: 1.207 MB / 1.539 GB, free: 9.34 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.642, allocations: 7.938 kB / 1.539 GB, free: 9.332 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.6422, allocations: 43.95 kB / 1.539 GB, free: 9.289 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.6422, allocations: 4 kB / 1.539 GB, free: 9.285 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.6422, allocations: 0 / 1.539 GB, free: 9.285 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.6422, allocations: 7.938 kB / 1.539 GB, free: 9.277 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.6422, allocations: 4 kB / 1.539 GB, free: 9.273 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.6426, allocations: 311 kB / 1.539 GB, free: 8.926 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 6.89e-05/0.6427, allocations: 27.86 kB / 1.539 GB, free: 8.898 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.6427, allocations: 8.062 kB / 1.539 GB, free: 8.891 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.6429, allocations: 8.266 kB / 1.539 GB, free: 8.883 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.6429, allocations: 23.86 kB / 1.539 GB, free: 8.859 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.643, allocations: 4 kB / 1.539 GB, free: 8.855 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000198/0.6431, allocations: 199 kB / 1.539 GB, free: 8.664 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6431, allocations: 0 / 1.539 GB, free: 8.664 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004854/0.6436, allocations: 123.4 kB / 1.539 GB, free: 8.543 MB / 1.232 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.000211/0.6438, allocations: 123.2 kB / 1.539 GB, free: 8.414 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.6442, allocations: 103.8 kB / 1.54 GB, free: 8.312 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6442, allocations: 3.938 kB / 1.54 GB, free: 8.309 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.6443, allocations: 64.83 kB / 1.54 GB, free: 8.246 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007062/0.645, allocations: 92.97 kB / 1.54 GB, free: 8.16 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.6465, allocations: 0.8406 MB / 1.541 GB, free: 7.258 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.6468, allocations: 312.7 kB / 1.541 GB, free: 6.93 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0001344/0.6469, allocations: 49.89 kB / 1.541 GB, free: 6.879 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.647, allocations: 19.44 kB / 1.541 GB, free: 6.863 MB / 1.232 GB Notification: Performance of SimCode: time 7.41e-07/0.647, allocations: 0 / 1.541 GB, free: 6.863 MB / 1.232 GB Notification: Performance of Templates: time 0.009973/0.6569, allocations: 3.866 MB / 1.545 GB, free: 3.09 MB / 1.232 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/jenkins/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: 9.606335543096066]