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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 112.8 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 489.3 MB / 0.7687 GB, free: 3.77 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001993/0.001993, allocations: 67.89 kB / 1.103 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9036/0.9056, allocations: 163.8 MB / 1.263 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2253/1.131, allocations: 176 MB / 1.434 GB, free: 4.125 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01075/1.142, allocations: 8.717 MB / 1.443 GB, free: 13.05 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009324/1.143, allocations: 20.88 kB / 1.443 GB, free: 13.04 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000868/1.144, allocations: 299.5 kB / 1.443 GB, free: 12.78 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0008607/1.145, allocations: 296.3 kB / 1.444 GB, free: 12.54 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/1.146, allocations: 379.3 kB / 1.444 GB, free: 12.25 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001566/1.147, allocations: 1.132 MB / 1.445 GB, free: 11.6 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008437/1.148, allocations: 0.605 MB / 1.446 GB, free: 11.25 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005865/1.154, allocations: 2.06 MB / 1.448 GB, free: 9.852 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006176/1.155, allocations: 332.5 kB / 1.448 GB, free: 9.652 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 8.273e-05/1.155, allocations: 40.16 kB / 1.448 GB, free: 9.652 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/1.155, allocations: 83.59 kB / 1.448 GB, free: 9.629 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/1.155, allocations: 256.8 kB / 1.448 GB, free: 9.473 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003388/1.156, allocations: 286.4 kB / 1.449 GB, free: 9.289 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0008529/1.156, allocations: 0.627 MB / 1.449 GB, free: 8.875 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/1.157, allocations: 0 / 1.449 GB, free: 8.875 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.613e-06/1.157, allocations: 5.5 kB / 1.449 GB, free: 8.871 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.085e-05/1.157, allocations: 0 / 1.449 GB, free: 8.871 MB / 1.139 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.001201/1.158, allocations: 0.8377 MB / 1.45 GB, free: 8.023 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.158, allocations: 12.03 kB / 1.45 GB, free: 8.012 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/1.158, allocations: 75.5 kB / 1.45 GB, free: 7.938 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007217/1.159, allocations: 446.5 kB / 1.451 GB, free: 7.461 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/1.159, allocations: 41.31 kB / 1.451 GB, free: 7.422 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.899e-05/1.159, allocations: 52 kB / 1.451 GB, free: 7.371 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/1.16, allocations: 0.7139 MB / 1.451 GB, free: 6.578 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/1.16, allocations: 0 / 1.451 GB, free: 6.578 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/1.16, allocations: 24 kB / 1.451 GB, free: 6.555 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.378e-05/1.16, allocations: 35.86 kB / 1.451 GB, free: 6.52 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006708/1.161, allocations: 379.3 kB / 1.452 GB, free: 6.148 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002898/1.164, allocations: 3.22 MB / 1.455 GB, free: 2.785 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/1.164, allocations: 214.1 kB / 1.455 GB, free: 2.484 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/1.164, allocations: 132.5 kB / 1.455 GB, free: 2.324 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/1.164, allocations: 11.98 kB / 1.455 GB, free: 2.312 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/1.164, allocations: 42.5 kB / 1.455 GB, free: 2.262 MB / 1.139 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/1.164, allocations: 0 / 1.455 GB, free: 2.262 MB / 1.139 GB Notification: Performance of matching and sorting (n=10): time 0.0007634/1.165, allocations: 256.8 kB / 1.456 GB, free: 2.004 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001915/1.165, allocations: 287.9 kB / 1.456 GB, free: 1.656 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008382/1.166, allocations: 0.6917 MB / 1.456 GB, free: 0.957 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/1.166, allocations: 33.64 kB / 1.457 GB, free: 0.918 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/1.166, allocations: 268.3 kB / 1.457 GB, free: 0.6523 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/1.166, allocations: 35.69 kB / 1.457 GB, free: 0.6172 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/1.166, allocations: 25.72 kB / 1.457 GB, free: 0.5859 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002132/1.167, allocations: 370.8 kB / 1.457 GB, free: 220 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/1.167, allocations: 35.97 kB / 1.457 GB, free: 184 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/1.167, allocations: 101 kB / 1.457 GB, free: 64 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/1.167, allocations: 121 kB / 1.457 GB, free: 15.93 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.167, allocations: 4.328 kB / 1.457 GB, free: 15.92 MB / 1.154 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003698/1.168, allocations: 197.3 kB / 1.458 GB, free: 15.72 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/1.168, allocations: 4 kB / 1.458 GB, free: 15.72 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.168, allocations: 7.875 kB / 1.458 GB, free: 15.71 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.168, allocations: 4 kB / 1.458 GB, free: 15.71 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/1.168, allocations: 44.02 kB / 1.458 GB, free: 15.66 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/1.168, allocations: 3.938 kB / 1.458 GB, free: 15.66 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/1.168, allocations: 59.5 kB / 1.458 GB, free: 15.6 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/1.168, allocations: 8 kB / 1.458 GB, free: 15.59 MB / 1.154 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.0002308/1.168, allocations: 197.8 kB / 1.458 GB, free: 15.39 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/1.169, allocations: 67.61 kB / 1.458 GB, free: 15.32 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.433e-05/1.169, allocations: 64.27 kB / 1.458 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/1.169, allocations: 0 / 1.458 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/1.169, allocations: 4 kB / 1.458 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/1.169, allocations: 4 kB / 1.458 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/1.17, allocations: 1.3 MB / 1.459 GB, free: 13.86 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.17, allocations: 4 kB / 1.459 GB, free: 13.85 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/1.17, allocations: 44.23 kB / 1.459 GB, free: 13.81 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/1.17, allocations: 4 kB / 1.459 GB, free: 13.8 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/1.171, allocations: 4 kB / 1.459 GB, free: 13.8 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/1.171, allocations: 7.969 kB / 1.459 GB, free: 13.79 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.171, allocations: 11.92 kB / 1.459 GB, free: 13.78 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/1.171, allocations: 338.9 kB / 1.46 GB, free: 13.41 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/1.171, allocations: 152.7 kB / 1.46 GB, free: 13.24 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/1.171, allocations: 4.094 kB / 1.46 GB, free: 13.23 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/1.171, allocations: 11.92 kB / 1.46 GB, free: 13.22 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/1.171, allocations: 23.86 kB / 1.46 GB, free: 13.2 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/1.171, allocations: 4 kB / 1.46 GB, free: 13.2 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005748/1.172, allocations: 0.4951 MB / 1.46 GB, free: 12.7 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.4e-07/1.172, allocations: 4 kB / 1.46 GB, free: 12.7 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004102/1.172, allocations: 79.89 kB / 1.46 GB, free: 12.62 MB / 1.154 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.0003661/1.173, allocations: 134.2 kB / 1.461 GB, free: 12.48 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003425/1.173, allocations: 107.9 kB / 1.461 GB, free: 12.38 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.173, allocations: 0 / 1.461 GB, free: 12.38 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/1.173, allocations: 63.83 kB / 1.461 GB, free: 12.32 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/1.175, allocations: 283.6 kB / 1.461 GB, free: 12.05 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/1.176, allocations: 0.9435 MB / 1.462 GB, free: 11.04 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/1.177, allocations: 0.9088 MB / 1.463 GB, free: 10.11 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/1.177, allocations: 35.44 kB / 1.463 GB, free: 10.07 MB / 1.154 GB Notification: Performance of SimCode: time 2.01e-07/1.177, allocations: 0 / 1.463 GB, free: 10.07 MB / 1.154 GB Notification: Performance of Templates: time 0.01323/1.19, allocations: 7.839 MB / 1.471 GB, free: 2.289 MB / 1.154 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.706962384982035]