Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001102/0.001102, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001085/0.001085, allocations: 165 kB / 23.82 MB, free: 0.7461 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.929/0.929, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.764/1.764, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.[0-9,]+.|proSouH.port_b.Xi_outflow.[0-9,]+.|proSouC.port_b.Xi_outflow.[0-9,]+.|proSouXi.port_a.Xi_outflow.[0-9,]+.|proSouH.port_a.Xi_outflow.[0-9,]+.|proSouC.port_a.Xi_outflow.[0-9,]+.|proSouH.port_a.C_outflow.[0-9,]+.|proSouH.port_b.C_outflow.[0-9,]+.|proSouC.port_a.C_outflow.[0-9,]+.|proSouC.port_b.C_outflow.[0-9,]+.|proSouXi.port_a.C_outflow.[0-9,]+.|proSouXi.port_b.C_outflow.[0-9,]+.",fileNamePrefix="Buildings_11_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.[0-9,]+.|proSouH.port_b.Xi_outflow.[0-9,]+.|proSouC.port_b.Xi_outflow.[0-9,]+.|proSouXi.port_a.Xi_outflow.[0-9,]+.|proSouH.port_a.Xi_outflow.[0-9,]+.|proSouC.port_a.Xi_outflow.[0-9,]+.|proSouH.port_a.C_outflow.[0-9,]+.|proSouH.port_b.C_outflow.[0-9,]+.|proSouC.port_a.C_outflow.[0-9,]+.|proSouC.port_b.C_outflow.[0-9,]+.|proSouXi.port_a.C_outflow.[0-9,]+.|proSouXi.port_b.C_outflow.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.485e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1265/0.1265, allocations: 147.6 MB / 0.9312 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002655/0.1292, allocations: 1.314 MB / 0.9325 GB, free: 7.066 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005747/0.1297, allocations: 35.69 kB / 0.9326 GB, free: 7.031 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004465/0.1302, allocations: 162.7 kB / 0.9327 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0006228/0.1308, allocations: 314.2 kB / 0.933 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009722/0.1318, allocations: 431.1 kB / 0.9334 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001197/0.133, allocations: 1.137 MB / 0.9345 GB, free: 5 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.134, allocations: 451.2 kB / 0.935 GB, free: 4.551 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.1352, allocations: 0.7164 MB / 0.9357 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003808/0.1356, allocations: 330.9 kB / 0.936 GB, free: 3.508 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 5.437e-05/0.1357, allocations: 40 kB / 0.936 GB, free: 3.469 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.1358, allocations: 83.94 kB / 0.9361 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.136, allocations: 283.2 kB / 0.9364 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.1362, allocations: 183.5 kB / 0.9365 GB, free: 2.93 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005249/0.1367, allocations: 486.2 kB / 0.937 GB, free: 2.453 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1367, allocations: 3.984 kB / 0.937 GB, free: 2.449 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1367, allocations: 0 / 0.937 GB, free: 2.449 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.1367, allocations: 0 / 0.937 GB, free: 2.449 MB / 0.8855 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.000777/0.1375, allocations: 0.8737 MB / 0.9379 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1375, allocations: 8.031 kB / 0.9379 GB, free: 1.527 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.1377, allocations: 104.5 kB / 0.938 GB, free: 1.426 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.1381, allocations: 394.3 kB / 0.9384 GB, free: 1.012 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.1381, allocations: 41.3 kB / 0.9384 GB, free: 0.9727 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.1382, allocations: 52 kB / 0.9384 GB, free: 0.9219 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005846/0.1387, allocations: 0.6046 MB / 0.939 GB, free: 208 kB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1388, allocations: 4 kB / 0.939 GB, free: 204 kB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.1388, allocations: 24 kB / 0.9391 GB, free: 180 kB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-05/0.1388, allocations: 35.92 kB / 0.9391 GB, free: 144 kB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.1391, allocations: 175.6 kB / 0.9393 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.1413, allocations: 4.042 MB / 0.9432 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.1415, allocations: 274.9 kB / 0.9435 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.22e-05/0.1416, allocations: 112.9 kB / 0.9436 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.1416, allocations: 4 kB / 0.9436 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.1416, allocations: 53.33 kB / 0.9436 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.1416, allocations: 0 / 0.9436 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of matching and sorting (n=10): time 0.0003015/0.1419, allocations: 129.2 kB / 0.9438 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.142, allocations: 292 kB / 0.944 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.1422, allocations: 310.3 kB / 0.9443 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1422, allocations: 29.7 kB / 0.9444 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.1423, allocations: 354.9 kB / 0.9447 GB, free: 9.965 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.1424, allocations: 35.64 kB / 0.9447 GB, free: 9.93 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.1424, allocations: 39.36 kB / 0.9448 GB, free: 9.883 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1425, allocations: 0.5117 MB / 0.9453 GB, free: 9.359 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/0.1426, allocations: 7.984 kB / 0.9453 GB, free: 9.352 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.808e-05/0.1426, allocations: 198.6 kB / 0.9455 GB, free: 9.102 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.994e-05/0.1427, allocations: 82.06 kB / 0.9455 GB, free: 8.996 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1427, allocations: 0 / 0.9455 GB, free: 8.996 MB / 0.9011 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001172/0.1428, allocations: 109.6 kB / 0.9456 GB, free: 8.883 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1429, allocations: 8 kB / 0.9457 GB, free: 8.875 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1429, allocations: 3.984 kB / 0.9457 GB, free: 8.871 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1429, allocations: 7.938 kB / 0.9457 GB, free: 8.863 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.143, allocations: 23.98 kB / 0.9457 GB, free: 8.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.143, allocations: 12.17 kB / 0.9457 GB, free: 8.828 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.605e-05/0.1431, allocations: 7.984 kB / 0.9457 GB, free: 8.82 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.1431, allocations: 12 kB / 0.9457 GB, free: 8.809 MB / 0.9011 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.000101/0.1432, allocations: 168.5 kB / 0.9459 GB, free: 8.633 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.1433, allocations: 31.81 kB / 0.9459 GB, free: 8.602 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/0.1433, allocations: 28.98 kB / 0.9459 GB, free: 8.57 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1433, allocations: 4 kB / 0.9459 GB, free: 8.566 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1433, allocations: 4 kB / 0.9459 GB, free: 8.562 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.1433, allocations: 7.984 kB / 0.946 GB, free: 8.555 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009171/0.1443, allocations: 1.581 MB / 0.9475 GB, free: 6.887 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1443, allocations: 4 kB / 0.9475 GB, free: 6.883 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.785e-05/0.1443, allocations: 31.97 kB / 0.9475 GB, free: 6.852 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1444, allocations: 4 kB / 0.9475 GB, free: 6.848 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1444, allocations: 12 kB / 0.9475 GB, free: 6.836 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1444, allocations: 4 kB / 0.9476 GB, free: 6.832 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1444, allocations: 4.219 kB / 0.9476 GB, free: 6.828 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.1445, allocations: 320.9 kB / 0.9479 GB, free: 6.457 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.1446, allocations: 31.81 kB / 0.9479 GB, free: 6.426 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.1446, allocations: 7.938 kB / 0.9479 GB, free: 6.418 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.746e-05/0.1447, allocations: 11.98 kB / 0.9479 GB, free: 6.406 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.1447, allocations: 15.92 kB / 0.9479 GB, free: 6.391 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1447, allocations: 4 kB / 0.9479 GB, free: 6.387 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001147/0.1448, allocations: 215 kB / 0.9481 GB, free: 6.18 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1448, allocations: 0 / 0.9481 GB, free: 6.18 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002765/0.1451, allocations: 123.5 kB / 0.9483 GB, free: 6.059 MB / 0.9011 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.0001774/0.1453, allocations: 123.2 kB / 0.9484 GB, free: 5.93 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004047/0.1457, allocations: 55.42 kB / 0.9484 GB, free: 5.875 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1457, allocations: 0 / 0.9484 GB, free: 5.875 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.1457, allocations: 40.36 kB / 0.9485 GB, free: 5.832 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.1461, allocations: 103 kB / 0.9486 GB, free: 5.734 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.1472, allocations: 0.8331 MB / 0.9494 GB, free: 4.828 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.537e-05/0.1473, allocations: 156.2 kB / 0.9495 GB, free: 4.656 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 9.687e-05/0.1474, allocations: 61.81 kB / 0.9496 GB, free: 4.598 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.1474, allocations: 20.5 kB / 0.9496 GB, free: 4.578 MB / 0.9011 GB Notification: Performance of SimCode: time 1.102e-06/0.1474, allocations: 0 / 0.9496 GB, free: 4.578 MB / 0.9011 GB Notification: Performance of Templates: time 0.00612/0.1535, allocations: 3.437 MB / 0.953 GB, free: 1.242 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.126789511647075]