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.001921/0.001921, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002079/0.002079, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.574/1.574, allocations: 177.1 MB / 203.1 MB, free: 5.562 MB / 186.7 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.459/3.459, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8774 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/2.999e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2516/0.2516, allocations: 172.4 MB / 1.046 GB, free: 9.68 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01364/0.2652, allocations: 8.919 MB / 1.054 GB, free: 0.7344 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007998/0.266, allocations: 31.69 kB / 1.055 GB, free: 0.7031 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.2672, allocations: 313.7 kB / 1.055 GB, free: 404 kB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0009266/0.2681, allocations: 310.2 kB / 1.055 GB, free: 92 kB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.4829/0.7511, allocations: 409.5 kB / 1.056 GB, free: 47.89 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001172/0.7523, allocations: 1.081 MB / 1.057 GB, free: 47.89 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004897/0.7527, allocations: 398.9 kB / 1.057 GB, free: 47.88 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004166/0.7569, allocations: 2.227 MB / 1.059 GB, free: 47.88 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003929/0.7573, allocations: 310.2 kB / 1.059 GB, free: 47.88 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 6.73e-05/0.7574, allocations: 41.19 kB / 1.059 GB, free: 47.88 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.7576, allocations: 88.78 kB / 1.06 GB, free: 47.88 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.7578, allocations: 275.9 kB / 1.06 GB, free: 47.88 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.758, allocations: 193.1 kB / 1.06 GB, free: 47.88 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0005905/0.7585, allocations: 0.6341 MB / 1.061 GB, free: 47.83 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7585, allocations: 0 / 1.061 GB, free: 47.83 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7586, allocations: 3 kB / 1.061 GB, free: 47.83 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.7586, allocations: 0 / 1.061 GB, free: 47.83 MB / 1.01 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.0008332/0.7594, allocations: 0.872 MB / 1.061 GB, free: 47.28 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.7594, allocations: 9.828 kB / 1.061 GB, free: 47.28 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.7596, allocations: 116.5 kB / 1.062 GB, free: 47.25 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005561/0.7601, allocations: 380.4 kB / 1.062 GB, free: 47.06 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.7602, allocations: 39.98 kB / 1.062 GB, free: 47.06 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.703e-05/0.7602, allocations: 60.62 kB / 1.062 GB, free: 47.06 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007176/0.7609, allocations: 0.6574 MB / 1.063 GB, free: 46.72 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.761, allocations: 6.188 kB / 1.063 GB, free: 46.72 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.761, allocations: 19.81 kB / 1.063 GB, free: 46.72 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/0.761, allocations: 32.92 kB / 1.063 GB, free: 46.72 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.7614, allocations: 233 kB / 1.063 GB, free: 46.72 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.7632, allocations: 4.121 MB / 1.067 GB, free: 43.26 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.7634, allocations: 277.6 kB / 1.067 GB, free: 42.91 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.7635, allocations: 125.6 kB / 1.067 GB, free: 42.79 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.7635, allocations: 9.406 kB / 1.067 GB, free: 42.79 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.7635, allocations: 52.56 kB / 1.067 GB, free: 42.75 MB / 1.01 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.7635, allocations: 3.938 kB / 1.067 GB, free: 42.75 MB / 1.01 GB Notification: Performance of matching and sorting (n=10): time 0.0004868/0.764, allocations: 156 kB / 1.068 GB, free: 42.7 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.7641, allocations: 299.3 kB / 1.068 GB, free: 42.35 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.7643, allocations: 344.1 kB / 1.068 GB, free: 42.18 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.7643, allocations: 25.7 kB / 1.068 GB, free: 42.15 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.7644, allocations: 354.3 kB / 1.069 GB, free: 41.93 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.7644, allocations: 37.64 kB / 1.069 GB, free: 41.91 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.7645, allocations: 35.78 kB / 1.069 GB, free: 41.88 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.569e-05/0.7645, allocations: 0.5182 MB / 1.069 GB, free: 41.39 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.304e-05/0.7646, allocations: 18.64 kB / 1.069 GB, free: 41.39 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.7647, allocations: 211.4 kB / 1.069 GB, free: 41.16 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.7649, allocations: 103.8 kB / 1.069 GB, free: 41.09 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7649, allocations: 3.594 kB / 1.069 GB, free: 41.09 MB / 1.01 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001902/0.765, allocations: 119.5 kB / 1.07 GB, free: 41.05 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.7651, allocations: 9.906 kB / 1.07 GB, free: 41.05 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.7651, allocations: 2.812 kB / 1.07 GB, free: 41.05 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.7651, allocations: 3.594 kB / 1.07 GB, free: 41.05 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.7652, allocations: 27.33 kB / 1.07 GB, free: 41.05 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.7652, allocations: 9.844 kB / 1.07 GB, free: 41.04 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.179e-05/0.7653, allocations: 10.72 kB / 1.07 GB, free: 41.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.7654, allocations: 9.672 kB / 1.07 GB, free: 41.04 MB / 1.01 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.0001136/0.7655, allocations: 198.4 kB / 1.07 GB, free: 40.88 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.7656, allocations: 33.94 kB / 1.07 GB, free: 40.86 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.7657, allocations: 25.81 kB / 1.07 GB, free: 40.86 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.7657, allocations: 2.75 kB / 1.07 GB, free: 40.86 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7657, allocations: 9.156 kB / 1.07 GB, free: 40.86 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7657, allocations: 3.812 kB / 1.07 GB, free: 40.86 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.7668, allocations: 1.645 MB / 1.072 GB, free: 39.51 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.7668, allocations: 2.938 kB / 1.072 GB, free: 39.51 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.7669, allocations: 33.62 kB / 1.072 GB, free: 39.51 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.7669, allocations: 2.844 kB / 1.072 GB, free: 39.51 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.7669, allocations: 9.109 kB / 1.072 GB, free: 39.51 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.7669, allocations: 2.969 kB / 1.072 GB, free: 39.51 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.7669, allocations: 2.812 kB / 1.072 GB, free: 39.51 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.7671, allocations: 340.1 kB / 1.072 GB, free: 39.21 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.7672, allocations: 36.09 kB / 1.072 GB, free: 39.19 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.7672, allocations: 2.969 kB / 1.072 GB, free: 39.19 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.894e-05/0.7673, allocations: 7.219 kB / 1.072 GB, free: 39.19 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.7674, allocations: 19.81 kB / 1.072 GB, free: 39.19 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.7674, allocations: 5.781 kB / 1.072 GB, free: 39.19 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001224/0.7675, allocations: 234.5 kB / 1.072 GB, free: 39.07 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.7675, allocations: 0 / 1.072 GB, free: 39.07 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003835/0.7679, allocations: 121.9 kB / 1.072 GB, free: 39.03 MB / 1.01 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.0001673/0.768, allocations: 120.7 kB / 1.072 GB, free: 38.94 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002107/0.7683, allocations: 79.67 kB / 1.072 GB, free: 38.93 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7683, allocations: 0.9062 kB / 1.072 GB, free: 38.93 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.374e-05/0.7683, allocations: 49.31 kB / 1.073 GB, free: 38.91 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.7689, allocations: 81.5 kB / 1.073 GB, free: 38.91 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009165/0.7698, allocations: 0.8169 MB / 1.073 GB, free: 38.41 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.77, allocations: 291.9 kB / 1.074 GB, free: 38.32 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 9.706e-05/0.7701, allocations: 48.03 kB / 1.074 GB, free: 38.32 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.7701, allocations: 24.23 kB / 1.074 GB, free: 38.31 MB / 1.01 GB Notification: Performance of SimCode: time 4.31e-07/0.7701, allocations: 0.8125 kB / 1.074 GB, free: 38.31 MB / 1.01 GB Notification: Performance of Templates: time 0.006696/0.7768, allocations: 2.817 MB / 1.077 GB, free: 38.16 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 240] 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.32460848102346]