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.001624/0.001624, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.001722/0.001722, allocations: 204 kB / 20.09 MB, free: 2.977 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.5/1.5, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.936/2.936, allocations: 0.49 GB / 0.7923 GB, free: 1.449 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.002325/0.002325, allocations: 75.91 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2279/1.255, allocations: 179.5 MB / 1.497 GB, free: 3.789 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01215/1.267, allocations: 8.761 MB / 1.506 GB, free: 12.7 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008308/1.268, allocations: 33.22 kB / 1.506 GB, free: 12.68 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008838/1.269, allocations: 306.2 kB / 1.506 GB, free: 12.41 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0008356/1.27, allocations: 316.5 kB / 1.506 GB, free: 12.16 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/1.271, allocations: 382.1 kB / 1.507 GB, free: 11.87 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00143/1.272, allocations: 1.141 MB / 1.508 GB, free: 10.77 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008318/1.273, allocations: 0.498 MB / 1.508 GB, free: 10.27 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005269/1.278, allocations: 2.133 MB / 1.511 GB, free: 8.129 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005724/1.279, allocations: 366.4 kB / 1.511 GB, free: 7.77 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.992e-05/1.279, allocations: 40 kB / 1.511 GB, free: 7.73 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/1.279, allocations: 83.95 kB / 1.511 GB, free: 7.648 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002939/1.28, allocations: 271.2 kB / 1.511 GB, free: 7.383 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003128/1.28, allocations: 286.5 kB / 1.512 GB, free: 7.102 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.000806/1.281, allocations: 0.6329 MB / 1.512 GB, free: 6.469 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.281, allocations: 0 / 1.512 GB, free: 6.469 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.162e-06/1.281, allocations: 0 / 1.512 GB, free: 6.469 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.275e-05/1.281, allocations: 0 / 1.512 GB, free: 6.469 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.001195/1.282, allocations: 0.8411 MB / 1.513 GB, free: 5.574 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.282, allocations: 11.98 kB / 1.513 GB, free: 5.562 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/1.282, allocations: 79.52 kB / 1.513 GB, free: 5.484 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007015/1.283, allocations: 442.5 kB / 1.513 GB, free: 5.012 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/1.283, allocations: 41.31 kB / 1.513 GB, free: 4.973 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/1.283, allocations: 55.98 kB / 1.514 GB, free: 4.918 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/1.284, allocations: 0.6988 MB / 1.514 GB, free: 4.137 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/1.284, allocations: 3.938 kB / 1.514 GB, free: 4.133 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/1.284, allocations: 27.98 kB / 1.514 GB, free: 4.105 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.444e-05/1.284, allocations: 43.91 kB / 1.514 GB, free: 4.062 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007328/1.285, allocations: 371.4 kB / 1.515 GB, free: 3.699 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00293/1.288, allocations: 3.212 MB / 1.518 GB, free: 352 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/1.288, allocations: 222.2 kB / 1.518 GB, free: 36 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/1.288, allocations: 128.5 kB / 1.518 GB, free: 15.88 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/1.288, allocations: 0 / 1.518 GB, free: 15.88 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/1.288, allocations: 46.5 kB / 1.518 GB, free: 15.82 MB / 1.201 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/1.288, allocations: 4 kB / 1.518 GB, free: 15.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=10): time 0.000747/1.289, allocations: 250.1 kB / 1.518 GB, free: 15.57 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002332/1.289, allocations: 298.6 kB / 1.519 GB, free: 15.21 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/1.29, allocations: 0.6839 MB / 1.519 GB, free: 14.52 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/1.29, allocations: 25.7 kB / 1.519 GB, free: 14.48 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/1.29, allocations: 272.3 kB / 1.52 GB, free: 14.21 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/1.29, allocations: 39.67 kB / 1.52 GB, free: 14.18 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.215e-05/1.291, allocations: 33.73 kB / 1.52 GB, free: 14.14 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001861/1.291, allocations: 362.8 kB / 1.52 GB, free: 13.77 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/1.291, allocations: 39.95 kB / 1.52 GB, free: 13.73 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/1.291, allocations: 101.1 kB / 1.52 GB, free: 13.62 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/1.291, allocations: 129 kB / 1.52 GB, free: 13.47 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.291, allocations: 336 / 1.52 GB, free: 13.47 MB / 1.201 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003775/1.292, allocations: 197.1 kB / 1.521 GB, free: 13.27 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.292, allocations: 4 kB / 1.521 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.292, allocations: 7.875 kB / 1.521 GB, free: 13.26 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/1.292, allocations: 4 kB / 1.521 GB, free: 13.26 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/1.292, allocations: 43.89 kB / 1.521 GB, free: 13.21 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/1.292, allocations: 4.188 kB / 1.521 GB, free: 13.21 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/1.292, allocations: 59.5 kB / 1.521 GB, free: 13.15 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/1.292, allocations: 8 kB / 1.521 GB, free: 13.14 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.0002148/1.292, allocations: 197.8 kB / 1.521 GB, free: 12.94 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/1.293, allocations: 63.62 kB / 1.521 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.17e-05/1.293, allocations: 60.27 kB / 1.521 GB, free: 12.81 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.293, allocations: 4 kB / 1.521 GB, free: 12.81 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/1.293, allocations: 7.984 kB / 1.521 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.293, allocations: 8 kB / 1.521 GB, free: 12.79 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/1.294, allocations: 1.297 MB / 1.522 GB, free: 11.41 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.294, allocations: 4 kB / 1.522 GB, free: 11.4 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/1.295, allocations: 39.95 kB / 1.522 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/1.295, allocations: 4 kB / 1.522 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/1.295, allocations: 4 kB / 1.522 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/1.295, allocations: 7.938 kB / 1.522 GB, free: 11.35 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.295, allocations: 4 kB / 1.522 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/1.295, allocations: 347 kB / 1.523 GB, free: 10.96 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/1.295, allocations: 152.7 kB / 1.523 GB, free: 10.79 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/1.295, allocations: 4 kB / 1.523 GB, free: 10.79 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/1.295, allocations: 4 kB / 1.523 GB, free: 10.79 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/1.295, allocations: 23.86 kB / 1.523 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/1.295, allocations: 8 kB / 1.523 GB, free: 10.75 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006437/1.296, allocations: 0.4912 MB / 1.523 GB, free: 10.27 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.296, allocations: 0 / 1.523 GB, free: 10.27 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000408/1.297, allocations: 83.89 kB / 1.523 GB, free: 10.18 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.0002156/1.297, allocations: 127.1 kB / 1.523 GB, free: 10.05 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003333/1.297, allocations: 115.7 kB / 1.524 GB, free: 9.934 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.297, allocations: 4 kB / 1.524 GB, free: 9.93 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/1.297, allocations: 51.91 kB / 1.524 GB, free: 9.879 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/1.299, allocations: 281.4 kB / 1.524 GB, free: 9.605 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/1.3, allocations: 0.9395 MB / 1.525 GB, free: 8.602 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006311/1.301, allocations: 0.9049 MB / 1.526 GB, free: 7.672 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-05/1.301, allocations: 35.44 kB / 1.526 GB, free: 7.637 MB / 1.201 GB Notification: Performance of SimCode: time 6.72e-07/1.301, allocations: 0 / 1.526 GB, free: 7.637 MB / 1.201 GB Notification: Performance of Templates: time 0.01299/1.314, allocations: 7.865 MB / 1.533 GB, free: 15.84 MB / 1.217 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/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: 13.417188422987238]