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.0009452/0.0009452, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008431/0.0008431, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8696/0.8696, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.744/1.744, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 3.176e-06/3.176e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.162e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.613/0.613, allocations: 155.2 MB / 1.152 GB, free: 2.664 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.00892/0.6219, allocations: 7.961 MB / 1.16 GB, free: 13.3 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004424/0.6224, allocations: 32.38 kB / 1.16 GB, free: 13.28 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0006477/0.623, allocations: 312.9 kB / 1.161 GB, free: 13.08 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.0006227/0.6237, allocations: 315 kB / 1.161 GB, free: 12.89 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009927/0.6246, allocations: 420.4 kB / 1.161 GB, free: 12.7 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.00116/0.6258, allocations: 1.08 MB / 1.162 GB, free: 12.22 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005661/0.6264, allocations: 382.9 kB / 1.163 GB, free: 12.05 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004503/0.6309, allocations: 2.229 MB / 1.165 GB, free: 11.03 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004513/0.6313, allocations: 306 kB / 1.165 GB, free: 10.94 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 5.923e-05/0.6314, allocations: 38.78 kB / 1.165 GB, free: 10.94 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.6316, allocations: 85.8 kB / 1.165 GB, free: 10.93 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.6318, allocations: 278.2 kB / 1.166 GB, free: 10.82 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.632, allocations: 193.2 kB / 1.166 GB, free: 10.74 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0007189/0.6327, allocations: 0.6288 MB / 1.166 GB, free: 10.5 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6327, allocations: 3.938 kB / 1.166 GB, free: 10.5 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6327, allocations: 0 / 1.166 GB, free: 10.5 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.6327, allocations: 1.312 kB / 1.166 GB, free: 10.5 MB / 1.026 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.0009009/0.6336, allocations: 0.7356 MB / 1.167 GB, free: 9.961 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.6337, allocations: 9.875 kB / 1.167 GB, free: 9.961 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.521e-05/0.6338, allocations: 73.03 kB / 1.167 GB, free: 9.922 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/0.6343, allocations: 371.5 kB / 1.168 GB, free: 9.676 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.6343, allocations: 42.92 kB / 1.168 GB, free: 9.656 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.6344, allocations: 52.22 kB / 1.168 GB, free: 9.641 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008337/0.6352, allocations: 0.6986 MB / 1.168 GB, free: 9.227 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.6352, allocations: 10 kB / 1.168 GB, free: 9.219 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.6353, allocations: 22.75 kB / 1.168 GB, free: 9.203 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.202e-05/0.6353, allocations: 30.62 kB / 1.168 GB, free: 9.199 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005433/0.6359, allocations: 385.5 kB / 1.169 GB, free: 9.078 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.6376, allocations: 2.852 MB / 1.172 GB, free: 6.562 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.6377, allocations: 221.2 kB / 1.172 GB, free: 6.297 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.6379, allocations: 125.1 kB / 1.172 GB, free: 6.199 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.6379, allocations: 4.688 kB / 1.172 GB, free: 6.199 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.6379, allocations: 45.62 kB / 1.172 GB, free: 6.152 MB / 1.026 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.6379, allocations: 336 / 1.172 GB, free: 6.152 MB / 1.026 GB Notification: Performance of matching and sorting (n=10): time 0.0004303/0.6383, allocations: 217.4 kB / 1.172 GB, free: 6.059 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.74e-05/0.6384, allocations: 290.2 kB / 1.172 GB, free: 5.715 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.6386, allocations: 267.2 kB / 1.173 GB, free: 5.555 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.6386, allocations: 30.92 kB / 1.173 GB, free: 5.52 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.6388, allocations: 300.2 kB / 1.173 GB, free: 5.285 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.6388, allocations: 38.11 kB / 1.173 GB, free: 5.254 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.6389, allocations: 29.08 kB / 1.173 GB, free: 5.234 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.639, allocations: 341.3 kB / 1.173 GB, free: 4.906 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.491e-05/0.639, allocations: 36.39 kB / 1.173 GB, free: 4.898 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.6392, allocations: 225.3 kB / 1.174 GB, free: 4.684 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.6394, allocations: 127.3 kB / 1.174 GB, free: 4.609 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6394, allocations: 1.531 kB / 1.174 GB, free: 4.609 MB / 1.026 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002005/0.6396, allocations: 155.6 kB / 1.174 GB, free: 4.539 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.6396, allocations: 14.09 kB / 1.174 GB, free: 4.531 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6396, allocations: 1.562 kB / 1.174 GB, free: 4.531 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.6396, allocations: 2.25 kB / 1.174 GB, free: 4.531 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.6397, allocations: 37.83 kB / 1.174 GB, free: 4.531 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.6397, allocations: 2.078 kB / 1.174 GB, free: 4.531 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.6398, allocations: 22.66 kB / 1.174 GB, free: 4.52 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.6398, allocations: 11.56 kB / 1.174 GB, free: 4.516 MB / 1.026 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.0001732/0.64, allocations: 204.2 kB / 1.174 GB, free: 4.367 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.63e-05/0.6401, allocations: 29.91 kB / 1.174 GB, free: 4.352 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.6401, allocations: 30.08 kB / 1.174 GB, free: 4.336 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.6402, allocations: 4.5 kB / 1.174 GB, free: 4.336 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.6402, allocations: 2.656 kB / 1.174 GB, free: 4.336 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.6402, allocations: 3.359 kB / 1.174 GB, free: 4.336 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009715/0.6411, allocations: 1.196 MB / 1.175 GB, free: 3.316 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.6411, allocations: 7.188 kB / 1.175 GB, free: 3.312 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-05/0.6412, allocations: 47.19 kB / 1.175 GB, free: 3.305 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.6412, allocations: 2.812 kB / 1.175 GB, free: 3.305 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.6413, allocations: 4.25 kB / 1.175 GB, free: 3.305 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.6413, allocations: 3.328 kB / 1.175 GB, free: 3.305 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6413, allocations: 2.688 kB / 1.175 GB, free: 3.305 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.6415, allocations: 305.8 kB / 1.176 GB, free: 3.055 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.6415, allocations: 34.17 kB / 1.176 GB, free: 3.035 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.6416, allocations: 4.688 kB / 1.176 GB, free: 3.035 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.084e-05/0.6416, allocations: 8.766 kB / 1.176 GB, free: 3.035 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.6417, allocations: 14.34 kB / 1.176 GB, free: 3.031 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.6417, allocations: 8.875 kB / 1.176 GB, free: 3.027 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001289/0.6418, allocations: 192.6 kB / 1.176 GB, free: 2.914 MB / 1.026 GB Notification: Performance of sort global known variables: time 5e-08/0.6418, allocations: 0 / 1.176 GB, free: 2.914 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0002934/0.6421, allocations: 125.1 kB / 1.176 GB, free: 2.867 MB / 1.026 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.0001772/0.6423, allocations: 124.5 kB / 1.176 GB, free: 2.766 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.6425, allocations: 108.5 kB / 1.176 GB, free: 2.738 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.6425, allocations: 1.094 kB / 1.176 GB, free: 2.738 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 8.005e-05/0.6426, allocations: 59.12 kB / 1.176 GB, free: 2.723 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.6429, allocations: 81.77 kB / 1.176 GB, free: 2.703 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009543/0.6439, allocations: 0.8611 MB / 1.177 GB, free: 2.16 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.6441, allocations: 299.9 kB / 1.178 GB, free: 2.055 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.6442, allocations: 28.59 kB / 1.178 GB, free: 2.039 MB / 1.026 GB Notification: Performance of SimCode: time 6.81e-07/0.6442, allocations: 0 / 1.178 GB, free: 2.039 MB / 1.026 GB Notification: Performance of Templates: time 0.007543/0.6517, allocations: 4.975 MB / 1.182 GB, free: 1.496 MB / 1.026 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: 7.617842194624245]