Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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.001373/0.001373, allocations: 87.58 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.00113/0.00113, allocations: 161 kB / 23.82 MB, free: 0.75 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.9409/0.9409, 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 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.834/1.834, allocations: 377.8 MB / 0.6236 GB, free: 8.512 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.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.389e-05, allocations: 9.609 kB / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1273/0.1273, allocations: 150 MB / 0.958 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.009411/0.1368, allocations: 9.297 MB / 0.9671 GB, free: 1.918 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006785/0.1374, allocations: 43.62 kB / 0.9671 GB, free: 1.875 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008822/0.1383, allocations: 325.2 kB / 0.9674 GB, free: 1.555 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002298/0.1406, allocations: 1.025 MB / 0.9684 GB, free: 0.5234 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.1433, allocations: 1.457 MB / 0.9699 GB, free: 15.06 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002335/0.1457, allocations: 2.442 MB / 0.9722 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.1472, allocations: 1.159 MB / 0.9734 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002553/0.1497, allocations: 1.485 MB / 0.9748 GB, free: 9.973 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007455/0.1505, allocations: 0.6465 MB / 0.9755 GB, free: 9.324 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.1507, allocations: 152 kB / 0.9756 GB, free: 9.176 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.1523, allocations: 0.9278 MB / 0.9765 GB, free: 8.246 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000438/0.1528, allocations: 466.5 kB / 0.9769 GB, free: 7.789 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004872/0.1532, allocations: 0.5338 MB / 0.9775 GB, free: 7.254 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.00247/0.1557, allocations: 1.876 MB / 0.9793 GB, free: 5.371 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1557, allocations: 0 / 0.9793 GB, free: 5.371 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1557, allocations: 0 / 0.9793 GB, free: 5.371 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.229e-05/0.1557, allocations: 3.984 kB / 0.9793 GB, free: 5.367 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.002197/0.1579, allocations: 1.965 MB / 0.9812 GB, free: 3.352 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.158, allocations: 8.031 kB / 0.9812 GB, free: 3.344 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.1596, allocations: 0.5601 MB / 0.9818 GB, free: 2.781 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.1607, allocations: 0.9488 MB / 0.9827 GB, free: 1.793 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.329e-05/0.1608, allocations: 90.38 kB / 0.9828 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.1609, allocations: 132 kB / 0.9829 GB, free: 1.574 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.1623, allocations: 1.317 MB / 0.9842 GB, free: 112 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.1623, allocations: 0 / 0.9842 GB, free: 112 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.688e-05/0.1624, allocations: 51.98 kB / 0.9843 GB, free: 60 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.1624, allocations: 28 kB / 0.9843 GB, free: 32 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.1637, allocations: 0.9537 MB / 0.9852 GB, free: 15.07 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003833/0.1675, allocations: 3.014 MB / 0.9882 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.1686, allocations: 0.6971 MB / 0.9888 GB, free: 11.28 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.1689, allocations: 248.8 kB / 0.9891 GB, free: 11.04 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/0.1692, allocations: 100.9 kB / 0.9892 GB, free: 10.94 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006806/0.1699, allocations: 0.7102 MB / 0.9899 GB, free: 10.15 MB / 0.948 GB Notification: Performance of pre-optimization done (n=114): time 3.387e-06/0.1699, allocations: 0 / 0.9899 GB, free: 10.15 MB / 0.948 GB Notification: Performance of matching and sorting (n=114): time 0.00217/0.1721, allocations: 1.077 MB / 0.9909 GB, free: 9.062 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/0.1721, allocations: 204.8 kB / 0.9911 GB, free: 8.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005967/0.1727, allocations: 0.6986 MB / 0.9918 GB, free: 8.105 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.616e-05/0.1728, allocations: 57.7 kB / 0.9918 GB, free: 8.043 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.1731, allocations: 0.586 MB / 0.9924 GB, free: 7.449 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000242/0.1734, allocations: 388.7 kB / 0.9928 GB, free: 7.066 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.1736, allocations: 240.5 kB / 0.993 GB, free: 6.824 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1737, allocations: 0.5199 MB / 0.9935 GB, free: 6.297 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.1741, allocations: 190.5 kB / 0.9937 GB, free: 6.109 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004498/0.1745, allocations: 494.2 kB / 0.9942 GB, free: 5.562 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007161/0.1752, allocations: 0.5306 MB / 0.9947 GB, free: 5.008 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1752, allocations: 0 / 0.9947 GB, free: 5.008 MB / 0.948 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001317/0.1765, allocations: 0.8709 MB / 0.9955 GB, free: 4.125 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1766, allocations: 8 kB / 0.9956 GB, free: 4.117 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.1766, allocations: 0 / 0.9956 GB, free: 4.117 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004772/0.177, allocations: 131.6 kB / 0.9957 GB, free: 3.984 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.1776, allocations: 255.6 kB / 0.9959 GB, free: 3.734 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.1792, allocations: 1.913 MB / 0.9978 GB, free: 1.691 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.1796, allocations: 105.2 kB / 0.9979 GB, free: 1.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.021e-05/0.1797, allocations: 47.97 kB / 0.9979 GB, free: 1.543 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003314/0.18, allocations: 235.2 kB / 0.9982 GB, free: 1.301 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.1802, allocations: 155.2 kB / 0.9983 GB, free: 1.148 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.1818, allocations: 1.191 MB / 0.9995 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1818, allocations: 12 kB / 0.9995 GB, free: 15.92 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.1818, allocations: 0 / 0.9995 GB, free: 15.92 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.1818, allocations: 7.969 kB / 0.9995 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/0.1844, allocations: 2.113 MB / 1.002 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1844, allocations: 4.031 kB / 1.002 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/0.1849, allocations: 199.7 kB / 1.002 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000354/0.1852, allocations: 115.6 kB / 1.002 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.135e-05/0.1853, allocations: 35.97 kB / 1.002 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.1864, allocations: 1.925 MB / 1.004 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1864, allocations: 7.969 kB / 1.004 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.1882, allocations: 1.313 MB / 1.005 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003387/0.1885, allocations: 262.8 kB / 1.005 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.1886, allocations: 36.02 kB / 1.005 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/0.189, allocations: 47.95 kB / 1.005 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.1891, allocations: 84.84 kB / 1.005 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-05/0.1892, allocations: 51.97 kB / 1.006 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004111/0.1896, allocations: 470.9 kB / 1.006 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.1896, allocations: 0 / 1.006 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000956/0.1905, allocations: 494.7 kB / 1.006 GB, free: 8.523 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001479/0.192, allocations: 0.7115 MB / 1.007 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.1933, allocations: 0.8228 MB / 1.008 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1933, allocations: 4 kB / 1.008 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006062/0.1939, allocations: 0.5515 MB / 1.008 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.1952, allocations: 480.2 kB / 1.009 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.1984, allocations: 2.201 MB / 1.011 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.1987, allocations: 252.8 kB / 1.011 GB, free: 3.578 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0007593/0.1995, allocations: 340.8 kB / 1.012 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.1998, allocations: 136.4 kB / 1.012 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of SimCode: time 1.493e-06/0.1998, allocations: 0 / 1.012 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of Templates: time 0.03001/0.2298, allocations: 23.8 MB / 1.035 GB, free: 11.75 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside.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: 6.640695497859269]