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.0009989/0.0009989, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001014/0.001014, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9572/0.9572, allocations: 177.2 MB / 204.2 MB, free: 5.625 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.823/1.823, allocations: 377.8 MB / 0.6236 GB, free: 8.492 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.914e-06/1.914e-06, allocations: 0 / 0.8115 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.341e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1288/0.1289, allocations: 147.6 MB / 0.9557 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.1306, allocations: 1.338 MB / 0.957 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002703/0.1309, allocations: 27.75 kB / 0.9571 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.1313, allocations: 166.6 kB / 0.9572 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007064/0.132, allocations: 306.2 kB / 0.9575 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006952/0.1327, allocations: 423.2 kB / 0.9579 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0007882/0.1335, allocations: 1.129 MB / 0.959 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005054/0.134, allocations: 459.2 kB / 0.9594 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008731/0.1348, allocations: 0.7087 MB / 0.9601 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.1351, allocations: 315 kB / 0.9604 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.1352, allocations: 36 kB / 0.9605 GB, free: 8.551 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.1353, allocations: 83.89 kB / 0.9606 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.1355, allocations: 287.2 kB / 0.9608 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.1356, allocations: 187.5 kB / 0.961 GB, free: 8.004 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.136, allocations: 486.2 kB / 0.9615 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.136, allocations: 0 / 0.9615 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.202e-06/0.136, allocations: 8 kB / 0.9615 GB, free: 7.52 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.1361, allocations: 0 / 0.9615 GB, free: 7.52 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.0007111/0.1368, allocations: 0.8543 MB / 0.9623 GB, free: 6.629 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1368, allocations: 8.031 kB / 0.9623 GB, free: 6.621 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.1369, allocations: 112.5 kB / 0.9624 GB, free: 6.512 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.1373, allocations: 398.2 kB / 0.9628 GB, free: 6.094 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.1373, allocations: 41.31 kB / 0.9628 GB, free: 6.055 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.1374, allocations: 52 kB / 0.9629 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000576/0.138, allocations: 0.6007 MB / 0.9635 GB, free: 5.285 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.138, allocations: 3.938 kB / 0.9635 GB, free: 5.281 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.138, allocations: 24 kB / 0.9635 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.944e-05/0.1381, allocations: 35.97 kB / 0.9635 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/0.1383, allocations: 177.4 kB / 0.9637 GB, free: 5.051 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.1406, allocations: 4.042 MB / 0.9677 GB, free: 0.8516 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.1408, allocations: 271.1 kB / 0.9679 GB, free: 472 kB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.952e-05/0.1409, allocations: 116.8 kB / 0.968 GB, free: 312 kB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.1409, allocations: 4 kB / 0.968 GB, free: 308 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.1409, allocations: 53.31 kB / 0.9681 GB, free: 244 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1409, allocations: 0 / 0.9681 GB, free: 244 kB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0002864/0.1412, allocations: 126.4 kB / 0.9682 GB, free: 112 kB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.832e-05/0.1413, allocations: 290.7 kB / 0.9685 GB, free: 15.76 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.1415, allocations: 314.5 kB / 0.9688 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.1415, allocations: 33.7 kB / 0.9688 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.1416, allocations: 347 kB / 0.9691 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.1417, allocations: 35.69 kB / 0.9692 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.1417, allocations: 39.36 kB / 0.9692 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1418, allocations: 0.5117 MB / 0.9697 GB, free: 14.44 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.938e-05/0.1418, allocations: 4 kB / 0.9697 GB, free: 14.44 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.909e-05/0.1419, allocations: 202.6 kB / 0.9699 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.055e-05/0.142, allocations: 86.06 kB / 0.97 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.142, allocations: 4 kB / 0.97 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001097/0.1421, allocations: 105.4 kB / 0.9701 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1421, allocations: 4 kB / 0.9701 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1421, allocations: 4 kB / 0.9701 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1422, allocations: 0 / 0.9701 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1423, allocations: 32.11 kB / 0.9701 GB, free: 13.92 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1423, allocations: 7.984 kB / 0.9701 GB, free: 13.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.581e-05/0.1423, allocations: 7.938 kB / 0.9702 GB, free: 13.91 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.1424, allocations: 12 kB / 0.9702 GB, free: 13.89 MB / 0.9323 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.94e-05/0.1424, allocations: 164.5 kB / 0.9703 GB, free: 13.72 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.1426, allocations: 39.73 kB / 0.9704 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.1426, allocations: 32.98 kB / 0.9704 GB, free: 13.65 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1426, allocations: 0 / 0.9704 GB, free: 13.65 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1426, allocations: 4 kB / 0.9704 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1426, allocations: 8 kB / 0.9704 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.1438, allocations: 1.582 MB / 0.9719 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1438, allocations: 4 kB / 0.9719 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-05/0.1438, allocations: 31.92 kB / 0.972 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1438, allocations: 0 / 0.972 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1439, allocations: 7.938 kB / 0.972 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1439, allocations: 8.281 kB / 0.972 GB, free: 11.92 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1439, allocations: 7.938 kB / 0.972 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.144, allocations: 320.8 kB / 0.9723 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.1441, allocations: 35.8 kB / 0.9723 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.1441, allocations: 7.938 kB / 0.9724 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.28e-05/0.1441, allocations: 8 kB / 0.9724 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.1442, allocations: 7.984 kB / 0.9724 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.1442, allocations: 4 kB / 0.9724 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000103/0.1443, allocations: 219 kB / 0.9726 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.1443, allocations: 4 kB / 0.9726 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002466/0.1445, allocations: 119.5 kB / 0.9727 GB, free: 11.14 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.0001655/0.1447, allocations: 131.1 kB / 0.9728 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.1448, allocations: 55.41 kB / 0.9729 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1448, allocations: 4 kB / 0.9729 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-05/0.1448, allocations: 44.48 kB / 0.9729 GB, free: 10.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.1452, allocations: 96.72 kB / 0.973 GB, free: 10.81 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009672/0.1462, allocations: 0.8254 MB / 0.9738 GB, free: 9.91 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.608e-05/0.1463, allocations: 156.2 kB / 0.974 GB, free: 9.738 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 8.199e-05/0.1464, allocations: 53.88 kB / 0.974 GB, free: 9.68 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.1464, allocations: 20.5 kB / 0.974 GB, free: 9.66 MB / 0.9323 GB Notification: Performance of SimCode: time 7.42e-07/0.1464, allocations: 0 / 0.974 GB, free: 9.66 MB / 0.9323 GB Notification: Performance of Templates: time 0.005305/0.1517, allocations: 3.179 MB / 0.9771 GB, free: 6.594 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.532708822749555]