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.001824/0.001824, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.002306/0.002306, allocations: 164.6 kB / 23.01 MB, free: 4.598 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.467/1.467, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.764/2.764, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 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.002109/0.002109, allocations: 67.89 kB / 0.9819 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.006, allocations: 176.1 MB / 1.154 GB, free: 33.27 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2088/1.214, allocations: 155.4 MB / 1.306 GB, free: 8.488 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01157/1.226, allocations: 8.015 MB / 1.313 GB, free: 2.242 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009654/1.227, allocations: 32.91 kB / 1.314 GB, free: 2.223 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009511/1.228, allocations: 317.8 kB / 1.314 GB, free: 1.949 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.000909/1.229, allocations: 319.3 kB / 1.314 GB, free: 1.695 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/1.23, allocations: 393.7 kB / 1.314 GB, free: 1.395 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001487/1.231, allocations: 1.155 MB / 1.316 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007597/1.232, allocations: 441.4 kB / 1.316 GB, free: 440 kB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005508/1.238, allocations: 2.088 MB / 1.318 GB, free: 15.04 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006569/1.238, allocations: 347.8 kB / 1.318 GB, free: 14.83 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 8.105e-05/1.238, allocations: 47.72 kB / 1.318 GB, free: 14.82 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/1.239, allocations: 80.89 kB / 1.319 GB, free: 14.8 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003303/1.239, allocations: 273.4 kB / 1.319 GB, free: 14.63 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003013/1.239, allocations: 229.3 kB / 1.319 GB, free: 14.5 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0008292/1.24, allocations: 0.6434 MB / 1.32 GB, free: 14.08 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.24, allocations: 0 / 1.32 GB, free: 14.08 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.664e-06/1.24, allocations: 0 / 1.32 GB, free: 14.08 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.068e-05/1.24, allocations: 0 / 1.32 GB, free: 14.08 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.001163/1.241, allocations: 0.7675 MB / 1.32 GB, free: 13.45 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/1.241, allocations: 9.156 kB / 1.32 GB, free: 13.45 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/1.241, allocations: 72.83 kB / 1.32 GB, free: 13.41 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007668/1.242, allocations: 377.1 kB / 1.321 GB, free: 13.12 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/1.242, allocations: 44.27 kB / 1.321 GB, free: 13.11 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.865e-05/1.242, allocations: 51.06 kB / 1.321 GB, free: 13.09 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/1.243, allocations: 0.698 MB / 1.322 GB, free: 12.57 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/1.243, allocations: 2.188 kB / 1.322 GB, free: 12.57 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.449e-05/1.244, allocations: 30.05 kB / 1.322 GB, free: 12.55 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.994e-05/1.244, allocations: 39.34 kB / 1.322 GB, free: 12.53 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006662/1.244, allocations: 375.6 kB / 1.322 GB, free: 12.35 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/1.247, allocations: 2.86 MB / 1.325 GB, free: 9.41 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/1.247, allocations: 222.1 kB / 1.325 GB, free: 9.102 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/1.247, allocations: 124.6 kB / 1.325 GB, free: 8.949 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/1.247, allocations: 11.92 kB / 1.325 GB, free: 8.938 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/1.247, allocations: 50.48 kB / 1.325 GB, free: 8.879 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.894e-06/1.247, allocations: 0 / 1.325 GB, free: 8.879 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0006824/1.248, allocations: 217.1 kB / 1.325 GB, free: 8.66 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001678/1.248, allocations: 291.9 kB / 1.326 GB, free: 8.309 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/1.249, allocations: 268.6 kB / 1.326 GB, free: 8.035 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/1.249, allocations: 29.7 kB / 1.326 GB, free: 8 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/1.249, allocations: 312.1 kB / 1.326 GB, free: 7.688 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/1.249, allocations: 31.7 kB / 1.326 GB, free: 7.656 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/1.249, allocations: 29.7 kB / 1.326 GB, free: 7.621 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.249, allocations: 339.1 kB / 1.327 GB, free: 7.281 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/1.249, allocations: 39.95 kB / 1.327 GB, free: 7.242 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/1.249, allocations: 221.6 kB / 1.327 GB, free: 6.977 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/1.25, allocations: 136.9 kB / 1.327 GB, free: 6.824 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.25, allocations: 192 / 1.327 GB, free: 6.824 MB / 1.17 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003362/1.25, allocations: 157.5 kB / 1.327 GB, free: 6.664 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/1.25, allocations: 11.97 kB / 1.327 GB, free: 6.652 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.25, allocations: 4 kB / 1.327 GB, free: 6.648 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/1.25, allocations: 3.938 kB / 1.327 GB, free: 6.645 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/1.25, allocations: 39.95 kB / 1.327 GB, free: 6.605 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.25, allocations: 4 kB / 1.327 GB, free: 6.602 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/1.25, allocations: 11.98 kB / 1.327 GB, free: 6.59 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/1.251, allocations: 8 kB / 1.327 GB, free: 6.582 MB / 1.17 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.0002534/1.251, allocations: 210.3 kB / 1.327 GB, free: 6.367 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/1.251, allocations: 31.81 kB / 1.327 GB, free: 6.336 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/1.251, allocations: 28.98 kB / 1.328 GB, free: 6.309 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/1.251, allocations: 7.938 kB / 1.328 GB, free: 6.301 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/1.251, allocations: 4 kB / 1.328 GB, free: 6.297 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.251, allocations: 3.984 kB / 1.328 GB, free: 6.293 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/1.252, allocations: 1.195 MB / 1.329 GB, free: 5.027 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/1.252, allocations: 4.031 kB / 1.329 GB, free: 5.023 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/1.253, allocations: 43.89 kB / 1.329 GB, free: 4.98 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/1.253, allocations: 4 kB / 1.329 GB, free: 4.977 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/1.253, allocations: 8 kB / 1.329 GB, free: 4.969 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/1.253, allocations: 8.062 kB / 1.329 GB, free: 4.961 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.253, allocations: 3.938 kB / 1.329 GB, free: 4.957 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/1.253, allocations: 310.9 kB / 1.329 GB, free: 4.609 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/1.253, allocations: 31.75 kB / 1.329 GB, free: 4.578 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/1.253, allocations: 8 kB / 1.329 GB, free: 4.57 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/1.253, allocations: 7.984 kB / 1.329 GB, free: 4.562 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/1.253, allocations: 15.92 kB / 1.329 GB, free: 4.547 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/1.253, allocations: 8 kB / 1.329 GB, free: 4.539 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001848/1.254, allocations: 195 kB / 1.329 GB, free: 4.352 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.254, allocations: 0 / 1.329 GB, free: 4.352 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004929/1.254, allocations: 123.5 kB / 1.329 GB, free: 4.23 MB / 1.17 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.0002024/1.254, allocations: 115.2 kB / 1.33 GB, free: 4.109 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003452/1.255, allocations: 107.8 kB / 1.33 GB, free: 4.004 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.255, allocations: 7.938 kB / 1.33 GB, free: 3.996 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/1.255, allocations: 60.77 kB / 1.33 GB, free: 3.938 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006495/1.255, allocations: 92.66 kB / 1.33 GB, free: 3.848 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/1.257, allocations: 0.8405 MB / 1.331 GB, free: 2.945 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/1.257, allocations: 304.7 kB / 1.331 GB, free: 2.625 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001365/1.257, allocations: 53.89 kB / 1.331 GB, free: 2.57 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/1.257, allocations: 20.5 kB / 1.331 GB, free: 2.551 MB / 1.17 GB Notification: Performance of SimCode: time 6.01e-07/1.257, allocations: 0 / 1.331 GB, free: 2.551 MB / 1.17 GB Notification: Performance of Templates: time 0.008484/1.266, allocations: 3.19 MB / 1.334 GB, free: 15.46 MB / 1.186 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 -s ida -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/jenkins1/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.199425198952667]