Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001296/0.001296, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.00168/0.00168, allocations: 173.4 kB / 24.06 MB, free: 452 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.9077/0.9077, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.07/2.07, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 0.8794 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.015e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1264/0.1264, allocations: 147.1 MB / 1.023 GB, free: 2.402 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.1367, allocations: 9.161 MB / 1.032 GB, free: 9.215 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009643/0.1376, allocations: 43.62 kB / 1.032 GB, free: 9.172 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000868/0.1385, allocations: 325.2 kB / 1.032 GB, free: 8.852 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.1408, allocations: 1.013 MB / 1.033 GB, free: 7.832 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002633/0.1435, allocations: 1.46 MB / 1.035 GB, free: 6.367 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002249/0.1457, allocations: 2.419 MB / 1.037 GB, free: 3.941 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.1471, allocations: 1.093 MB / 1.038 GB, free: 2.809 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002229/0.1493, allocations: 1.497 MB / 1.04 GB, free: 1.355 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008004/0.1501, allocations: 0.6426 MB / 1.04 GB, free: 0.7109 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.1503, allocations: 152 kB / 1.04 GB, free: 0.5625 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.1519, allocations: 0.924 MB / 1.041 GB, free: 15.64 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.1522, allocations: 462.5 kB / 1.042 GB, free: 15.18 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005018/0.1527, allocations: 0.5338 MB / 1.042 GB, free: 14.65 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003856/0.1565, allocations: 1.876 MB / 1.044 GB, free: 12.77 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.562e-05/0.1566, allocations: 0 / 1.044 GB, free: 12.77 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1566, allocations: 0 / 1.044 GB, free: 12.77 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.89e-05/0.1566, allocations: 4 kB / 1.044 GB, free: 12.76 MB / 1.01 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.002663/0.1593, allocations: 1.96 MB / 1.046 GB, free: 10.75 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1593, allocations: 12.03 kB / 1.046 GB, free: 10.74 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.161, allocations: 0.5678 MB / 1.047 GB, free: 10.17 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.1621, allocations: 0.9254 MB / 1.048 GB, free: 9.203 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.63e-05/0.1622, allocations: 90.38 kB / 1.048 GB, free: 9.113 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.1623, allocations: 132 kB / 1.048 GB, free: 8.984 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.1635, allocations: 1.231 MB / 1.049 GB, free: 7.605 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.1635, allocations: 0 / 1.049 GB, free: 7.605 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.84e-05/0.1636, allocations: 48 kB / 1.049 GB, free: 7.559 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.1636, allocations: 28 kB / 1.049 GB, free: 7.531 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008421/0.1645, allocations: 0.8165 MB / 1.05 GB, free: 6.695 MB / 1.01 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.003492/0.1679, allocations: 2.862 MB / 1.053 GB, free: 3.77 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008613/0.1688, allocations: 0.6282 MB / 1.053 GB, free: 3.133 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.1691, allocations: 210.5 kB / 1.053 GB, free: 2.922 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.1693, allocations: 92.91 kB / 1.054 GB, free: 2.832 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006039/0.1699, allocations: 0.685 MB / 1.054 GB, free: 2.066 MB / 1.01 GB Notification: Performance of pre-optimization done (n=114): time 3.667e-06/0.1699, allocations: 0 / 1.054 GB, free: 2.066 MB / 1.01 GB Notification: Performance of matching and sorting (n=114): time 0.001827/0.1718, allocations: 0.9639 MB / 1.055 GB, free: 1.098 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.1719, allocations: 200.9 kB / 1.055 GB, free: 0.8594 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005478/0.1724, allocations: 0.6786 MB / 1.056 GB, free: 168 kB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.548e-05/0.1725, allocations: 61.7 kB / 1.056 GB, free: 100 kB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.4062/0.5787, allocations: 0.5859 MB / 1.057 GB, free: 74.98 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.579, allocations: 397.6 kB / 1.057 GB, free: 74.82 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.5792, allocations: 241.3 kB / 1.057 GB, free: 74.79 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.615e-05/0.5793, allocations: 0.5246 MB / 1.058 GB, free: 74.3 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.5795, allocations: 144.4 kB / 1.058 GB, free: 74.3 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.5798, allocations: 451.8 kB / 1.058 GB, free: 74.02 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004486/0.5802, allocations: 466.6 kB / 1.059 GB, free: 73.94 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.5802, allocations: 4.594 kB / 1.059 GB, free: 73.94 MB / 1.01 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001086/0.5813, allocations: 0.7852 MB / 1.06 GB, free: 73.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5813, allocations: 11.23 kB / 1.06 GB, free: 73.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5814, allocations: 1.75 kB / 1.06 GB, free: 73.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004325/0.5818, allocations: 131.2 kB / 1.06 GB, free: 73.79 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.5823, allocations: 254.6 kB / 1.06 GB, free: 73.79 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009328/0.5833, allocations: 1.875 MB / 1.062 GB, free: 72.07 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/0.5836, allocations: 103.2 kB / 1.062 GB, free: 72.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.5837, allocations: 36.5 kB / 1.062 GB, free: 72.04 MB / 1.01 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0002577/0.584, allocations: 231.6 kB / 1.062 GB, free: 71.88 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.5841, allocations: 144.7 kB / 1.062 GB, free: 71.82 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.5853, allocations: 1.128 MB / 1.063 GB, free: 71.7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.5853, allocations: 12.25 kB / 1.063 GB, free: 71.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.5853, allocations: 0 / 1.063 GB, free: 71.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.5853, allocations: 4.25 kB / 1.063 GB, free: 71.7 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.5873, allocations: 1.877 MB / 1.065 GB, free: 71.23 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5873, allocations: 2.906 kB / 1.065 GB, free: 71.23 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/0.5877, allocations: 205.8 kB / 1.065 GB, free: 71.23 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003248/0.588, allocations: 114.9 kB / 1.065 GB, free: 71.21 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.417e-05/0.5881, allocations: 40.38 kB / 1.066 GB, free: 71.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007501/0.5888, allocations: 1.889 MB / 1.067 GB, free: 69.48 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5888, allocations: 0.9062 kB / 1.067 GB, free: 69.48 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.59, allocations: 1.19 MB / 1.069 GB, free: 69.11 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.5903, allocations: 246.8 kB / 1.069 GB, free: 69.05 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.411e-05/0.5903, allocations: 33.27 kB / 1.069 GB, free: 69.05 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/0.5907, allocations: 51.16 kB / 1.069 GB, free: 69.05 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.5908, allocations: 91.94 kB / 1.069 GB, free: 69.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/0.5908, allocations: 38.64 kB / 1.069 GB, free: 69.04 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002307/0.591, allocations: 433.3 kB / 1.069 GB, free: 68.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.591, allocations: 0 / 1.069 GB, free: 68.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007641/0.5918, allocations: 496.6 kB / 1.07 GB, free: 68.87 MB / 1.01 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 (121): * Single equations (assignments): 110 * 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.001237/0.593, allocations: 0.705 MB / 1.071 GB, free: 68.73 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007408/0.5938, allocations: 0.7459 MB / 1.071 GB, free: 68.52 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5938, allocations: 1.062 kB / 1.071 GB, free: 68.52 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003988/0.5942, allocations: 0.5165 MB / 1.072 GB, free: 68.33 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009493/0.5951, allocations: 476.8 kB / 1.072 GB, free: 68.29 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.5974, allocations: 2.161 MB / 1.074 GB, free: 67.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.5975, allocations: 253.3 kB / 1.075 GB, free: 67.22 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000534/0.5981, allocations: 251.1 kB / 1.075 GB, free: 67.17 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007351/0.5988, allocations: 0.4958 MB / 1.075 GB, free: 67.11 MB / 1.01 GB Notification: Performance of SimCode: time 9.22e-07/0.5988, allocations: 0.9062 kB / 1.075 GB, free: 67.11 MB / 1.01 GB Notification: Performance of Templates: time 0.03195/0.6308, allocations: 24.42 MB / 1.099 GB, free: 64.71 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.892394396010786]