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.0009841/0.0009841, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001035/0.001035, allocations: 166.6 kB / 24.87 MB, free: 8.875 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.9405/0.9405, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.855/1.855, allocations: 377.9 MB / 0.6247 GB, free: 8.406 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.112e-06/1.112e-06, allocations: 0 / 0.8128 GB, free: 316 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.744e-05, allocations: 2.312 kB / 0.8128 GB, free: 312 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1257/0.1257, allocations: 144.9 MB / 0.9543 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.00201/0.1277, allocations: 1.321 MB / 0.9556 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/0.128, allocations: 39.69 kB / 0.9556 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003602/0.1284, allocations: 162.7 kB / 0.9557 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.000426/0.1288, allocations: 302.2 kB / 0.956 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007014/0.1295, allocations: 427.1 kB / 0.9564 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0008436/0.1303, allocations: 1.133 MB / 0.9575 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004993/0.1308, allocations: 459.2 kB / 0.958 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009741/0.1318, allocations: 0.7087 MB / 0.9587 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00039/0.1322, allocations: 315 kB / 0.959 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.1322, allocations: 40 kB / 0.959 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.1324, allocations: 87.88 kB / 0.9591 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004361/0.1328, allocations: 275.3 kB / 0.9594 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.133, allocations: 195.5 kB / 0.9596 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.1334, allocations: 482.2 kB / 0.96 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1334, allocations: 0 / 0.96 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1334, allocations: 0 / 0.96 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.1334, allocations: 0 / 0.96 GB, free: 9.051 MB / 0.8698 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.0007147/0.1342, allocations: 0.8775 MB / 0.9609 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1342, allocations: 12.03 kB / 0.9609 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.1343, allocations: 104.5 kB / 0.961 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.1347, allocations: 386.2 kB / 0.9613 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.1347, allocations: 41.3 kB / 0.9614 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.1348, allocations: 52 kB / 0.9614 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.1353, allocations: 0.578 MB / 0.962 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1353, allocations: 0 / 0.962 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.1353, allocations: 28 kB / 0.962 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.406e-05/0.1353, allocations: 31.92 kB / 0.9621 GB, free: 6.773 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.1355, allocations: 143.5 kB / 0.9622 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.1372, allocations: 3.945 MB / 0.966 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.1376, allocations: 279 kB / 0.9663 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.1377, allocations: 104.9 kB / 0.9664 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.1377, allocations: 4 kB / 0.9664 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1377, allocations: 53.33 kB / 0.9665 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.844e-06/0.1377, allocations: 0 / 0.9665 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0002925/0.138, allocations: 121.2 kB / 0.9666 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.719e-05/0.1381, allocations: 292 kB / 0.9669 GB, free: 1.453 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.1383, allocations: 310.2 kB / 0.9672 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1383, allocations: 29.7 kB / 0.9672 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.1385, allocations: 358.9 kB / 0.9675 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.1385, allocations: 36.02 kB / 0.9676 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.1385, allocations: 43.3 kB / 0.9676 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1387, allocations: 0.5079 MB / 0.9681 GB, free: 136 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.1387, allocations: 7.938 kB / 0.9681 GB, free: 128 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1388, allocations: 198.7 kB / 0.9683 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.948e-05/0.1389, allocations: 89.98 kB / 0.9684 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1389, allocations: 0 / 0.9684 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001116/0.139, allocations: 105.3 kB / 0.9685 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.139, allocations: 4 kB / 0.9685 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.139, allocations: 0 / 0.9685 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.139, allocations: 4 kB / 0.9685 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1391, allocations: 31.95 kB / 0.9685 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1391, allocations: 12.17 kB / 0.9685 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.1392, allocations: 11.94 kB / 0.9685 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.1392, allocations: 8 kB / 0.9686 GB, free: 15.58 MB / 0.8855 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.0001019/0.1393, allocations: 176.4 kB / 0.9687 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.1394, allocations: 31.81 kB / 0.9688 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.1395, allocations: 28.98 kB / 0.9688 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1395, allocations: 4 kB / 0.9688 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1395, allocations: 4 kB / 0.9688 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.1395, allocations: 4 kB / 0.9688 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009163/0.1404, allocations: 1.492 MB / 0.9702 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.1404, allocations: 4 kB / 0.9703 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.398e-05/0.1405, allocations: 27.98 kB / 0.9703 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.1405, allocations: 4 kB / 0.9703 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.1405, allocations: 4 kB / 0.9703 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.1405, allocations: 7.984 kB / 0.9703 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1405, allocations: 8.156 kB / 0.9703 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.1406, allocations: 312.9 kB / 0.9706 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.1407, allocations: 39.78 kB / 0.9706 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.1407, allocations: 4 kB / 0.9706 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/0.1408, allocations: 4 kB / 0.9706 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.1408, allocations: 19.86 kB / 0.9707 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.1408, allocations: 4 kB / 0.9707 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.634e-05/0.1409, allocations: 207 kB / 0.9709 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1409, allocations: 0 / 0.9709 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002925/0.1412, allocations: 123.4 kB / 0.971 GB, free: 12.95 MB / 0.8855 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.0001627/0.1414, allocations: 131.1 kB / 0.9711 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.1415, allocations: 51.55 kB / 0.9712 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1415, allocations: 0 / 0.9712 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.548e-05/0.1415, allocations: 40.36 kB / 0.9712 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.1419, allocations: 107.2 kB / 0.9713 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009958/0.1429, allocations: 0.8331 MB / 0.9721 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.718e-05/0.143, allocations: 156.2 kB / 0.9723 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.191e-05/0.1431, allocations: 25.94 kB / 0.9723 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.1432, allocations: 146.1 kB / 0.9724 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of SimCode: time 9.42e-07/0.1432, allocations: 0 / 0.9724 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of Templates: time 0.006604/0.1498, allocations: 3.471 MB / 0.9758 GB, free: 7.988 MB / 0.8855 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.318713061977178]