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.0009586/0.0009586, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001034/0.001034, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9321/0.9321, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.836/1.836, allocations: 377.9 MB / 0.6239 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[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_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.[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_12_Buildings.Fluid.Sources.Examples.PropertySource_h") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066e-05/1.221e-05, allocations: 2.312 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1243/0.1243, allocations: 144.9 MB / 0.9535 GB, free: 88 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.1264, allocations: 1.317 MB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003153/0.1267, allocations: 31.69 kB / 0.9548 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003542/0.1271, allocations: 170.6 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0004424/0.1275, allocations: 306.2 kB / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006911/0.1282, allocations: 415.1 kB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0008147/0.129, allocations: 1.133 MB / 0.9568 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004896/0.1295, allocations: 459.2 kB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008402/0.1304, allocations: 0.7087 MB / 0.9579 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.1306, allocations: 318.9 kB / 0.9582 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.1307, allocations: 40 kB / 0.9582 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.1308, allocations: 83.94 kB / 0.9583 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.131, allocations: 275.2 kB / 0.9586 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.1311, allocations: 191.5 kB / 0.9588 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003817/0.1315, allocations: 486.2 kB / 0.9592 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1315, allocations: 7.938 kB / 0.9592 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1315, allocations: 0 / 0.9592 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.1315, allocations: 0 / 0.9592 GB, free: 10.18 MB / 0.9167 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.0008665/0.1324, allocations: 0.8581 MB / 0.9601 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1324, allocations: 16.03 kB / 0.9601 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.556e-05/0.1325, allocations: 112.5 kB / 0.9602 GB, free: 9.164 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.1329, allocations: 386.2 kB / 0.9606 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.1329, allocations: 45.31 kB / 0.9606 GB, free: 8.715 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.1329, allocations: 59.92 kB / 0.9607 GB, free: 8.656 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.1334, allocations: 0.5656 MB / 0.9612 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1334, allocations: 3.938 kB / 0.9612 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.1334, allocations: 23.98 kB / 0.9612 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.051e-05/0.1334, allocations: 31.98 kB / 0.9613 GB, free: 7.914 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.1336, allocations: 146.1 kB / 0.9614 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.1351, allocations: 3.952 MB / 0.9653 GB, free: 3.676 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.1352, allocations: 275 kB / 0.9655 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.179e-05/0.1353, allocations: 108.9 kB / 0.9656 GB, free: 3.129 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.1353, allocations: 4 kB / 0.9656 GB, free: 3.125 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1353, allocations: 49.33 kB / 0.9657 GB, free: 3.066 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.1353, allocations: 3.938 kB / 0.9657 GB, free: 3.062 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0002358/0.1355, allocations: 126.5 kB / 0.9658 GB, free: 2.934 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.1356, allocations: 294.7 kB / 0.9661 GB, free: 2.578 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.1358, allocations: 310.2 kB / 0.9664 GB, free: 2.254 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.1358, allocations: 25.7 kB / 0.9664 GB, free: 2.223 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.1361, allocations: 350.9 kB / 0.9668 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.1362, allocations: 35.69 kB / 0.9668 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.1362, allocations: 43.34 kB / 0.9668 GB, free: 1.785 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1363, allocations: 0.5079 MB / 0.9673 GB, free: 1.266 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.1363, allocations: 4 kB / 0.9673 GB, free: 1.262 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.618e-05/0.1364, allocations: 202.6 kB / 0.9675 GB, free: 1.008 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.69e-05/0.1365, allocations: 85.95 kB / 0.9676 GB, free: 0.8984 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1365, allocations: 0 / 0.9676 GB, free: 0.8984 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.908e-05/0.1366, allocations: 101.4 kB / 0.9677 GB, free: 0.793 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.1366, allocations: 4 kB / 0.9677 GB, free: 0.7891 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1366, allocations: 8.188 kB / 0.9677 GB, free: 0.7812 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1366, allocations: 0 / 0.9677 GB, free: 0.7812 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.112e-05/0.1367, allocations: 31.97 kB / 0.9677 GB, free: 0.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1367, allocations: 3.938 kB / 0.9677 GB, free: 0.7461 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/0.1367, allocations: 11.94 kB / 0.9678 GB, free: 0.7344 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.1367, allocations: 11.98 kB / 0.9678 GB, free: 0.7227 MB / 0.9167 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 8.281e-05/0.1368, allocations: 164.7 kB / 0.9679 GB, free: 0.5508 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.416e-05/0.1369, allocations: 31.81 kB / 0.968 GB, free: 0.5195 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.137, allocations: 36.92 kB / 0.968 GB, free: 492 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.137, allocations: 4 kB / 0.968 GB, free: 488 kB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.137, allocations: 4 kB / 0.968 GB, free: 484 kB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.137, allocations: 7.984 kB / 0.968 GB, free: 476 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008215/0.1378, allocations: 1.488 MB / 0.9695 GB, free: 14.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1378, allocations: 4 kB / 0.9695 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.1379, allocations: 32.25 kB / 0.9695 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1379, allocations: 8 kB / 0.9695 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.1379, allocations: 7.938 kB / 0.9695 GB, free: 14.85 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1379, allocations: 4 kB / 0.9695 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1379, allocations: 3.938 kB / 0.9695 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.138, allocations: 312.9 kB / 0.9698 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.138, allocations: 35.8 kB / 0.9698 GB, free: 14.44 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.138, allocations: 8.062 kB / 0.9699 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.099e-05/0.1381, allocations: 4 kB / 0.9699 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.1381, allocations: 23.84 kB / 0.9699 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1381, allocations: 8 kB / 0.9699 GB, free: 14.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 7.822e-05/0.1382, allocations: 214.9 kB / 0.9701 GB, free: 14.19 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.1382, allocations: 0 / 0.9701 GB, free: 14.19 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000247/0.1385, allocations: 115.5 kB / 0.9702 GB, free: 14.08 MB / 0.9323 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.0001277/0.1386, allocations: 127.1 kB / 0.9703 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 8.809e-05/0.1387, allocations: 55.53 kB / 0.9704 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.1387, allocations: 384 / 0.9704 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 3.127e-05/0.1387, allocations: 39.61 kB / 0.9704 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1391, allocations: 109.8 kB / 0.9705 GB, free: 13.74 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008233/0.1399, allocations: 0.8136 MB / 0.9713 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.576e-05/0.14, allocations: 156.2 kB / 0.9715 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 5.806e-05/0.14, allocations: 29.92 kB / 0.9715 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.1402, allocations: 146.1 kB / 0.9716 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of SimCode: time 6.91e-07/0.1402, allocations: 0 / 0.9716 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.005808/0.146, allocations: 3.436 MB / 0.975 GB, free: 9.172 MB / 0.9323 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 240] 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","",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.147755934856832]