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.001394/0.001394, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001344/0.001344, allocations: 169 kB / 23.02 MB, free: 1.555 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 1.024/1.024, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.123/2.123, allocations: 429.5 MB / 0.6732 GB, free: 4.07 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.913e-06/1.913e-06, allocations: 0 / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.48e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.137/0.137, allocations: 150 MB / 1.025 GB, free: 15.85 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.148, allocations: 9.276 MB / 1.034 GB, free: 6.547 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008932/0.1489, allocations: 43.62 kB / 1.034 GB, free: 6.504 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008368/0.1497, allocations: 329.2 kB / 1.034 GB, free: 6.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.1519, allocations: 0.998 MB / 1.035 GB, free: 5.176 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.1545, allocations: 1.46 MB / 1.036 GB, free: 3.711 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002297/0.1568, allocations: 2.427 MB / 1.039 GB, free: 1.277 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/0.1584, allocations: 1.097 MB / 1.04 GB, free: 148 kB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.1608, allocations: 1.441 MB / 1.041 GB, free: 14.75 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009239/0.1618, allocations: 0.6776 MB / 1.042 GB, free: 14.07 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002784/0.162, allocations: 160 kB / 1.042 GB, free: 13.91 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.1637, allocations: 0.9396 MB / 1.043 GB, free: 12.97 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003716/0.1641, allocations: 478.5 kB / 1.043 GB, free: 12.5 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005589/0.1646, allocations: 0.5456 MB / 1.044 GB, free: 11.96 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002624/0.1673, allocations: 1.927 MB / 1.046 GB, free: 10.02 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1673, allocations: 0 / 1.046 GB, free: 10.02 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1673, allocations: 0 / 1.046 GB, free: 10.02 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.204e-05/0.1673, allocations: 0 / 1.046 GB, free: 10.02 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.002776/0.1701, allocations: 1.961 MB / 1.048 GB, free: 8.012 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1701, allocations: 8.031 kB / 1.048 GB, free: 8.004 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/0.1719, allocations: 0.5718 MB / 1.048 GB, free: 7.43 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.1732, allocations: 0.9432 MB / 1.049 GB, free: 6.453 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.1733, allocations: 90.38 kB / 1.049 GB, free: 6.363 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.1734, allocations: 132 kB / 1.049 GB, free: 6.234 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.1749, allocations: 1.382 MB / 1.051 GB, free: 4.684 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.1749, allocations: 0 / 1.051 GB, free: 4.684 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/0.175, allocations: 55.98 kB / 1.051 GB, free: 4.629 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.175, allocations: 32 kB / 1.051 GB, free: 4.598 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.1762, allocations: 0.9576 MB / 1.052 GB, free: 3.629 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.004121/0.1803, allocations: 3.061 MB / 1.055 GB, free: 0.4961 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4943/0.6746, allocations: 0.6974 MB / 1.056 GB, free: 72.41 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004729/0.6751, allocations: 241.1 kB / 1.056 GB, free: 72.4 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00036/0.6754, allocations: 93.81 kB / 1.056 GB, free: 72.4 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006704/0.6761, allocations: 0.7291 MB / 1.057 GB, free: 72.04 MB / 1.01 GB Notification: Performance of pre-optimization done (n=114): time 3.597e-06/0.6761, allocations: 0 / 1.057 GB, free: 72.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=114): time 0.002243/0.6784, allocations: 1.069 MB / 1.058 GB, free: 71.97 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.6784, allocations: 195.5 kB / 1.058 GB, free: 71.75 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006318/0.6791, allocations: 0.7157 MB / 1.058 GB, free: 71.56 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.343e-05/0.6791, allocations: 56.67 kB / 1.059 GB, free: 71.53 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.6794, allocations: 0.5757 MB / 1.059 GB, free: 71.36 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.6796, allocations: 398.2 kB / 1.059 GB, free: 71.15 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.6799, allocations: 236.6 kB / 1.06 GB, free: 71.12 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.6799, allocations: 0.5176 MB / 1.06 GB, free: 70.64 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/0.6803, allocations: 189 kB / 1.06 GB, free: 70.64 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/0.6807, allocations: 0.5278 MB / 1.061 GB, free: 70.32 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000687/0.6814, allocations: 0.5273 MB / 1.061 GB, free: 70.22 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.6814, allocations: 0.5312 kB / 1.061 GB, free: 70.22 MB / 1.01 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001326/0.6827, allocations: 0.8779 MB / 1.062 GB, free: 70.09 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.6827, allocations: 6.094 kB / 1.062 GB, free: 70.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.6827, allocations: 4.031 kB / 1.062 GB, free: 70.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004838/0.6832, allocations: 131.2 kB / 1.062 GB, free: 70.08 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005634/0.6838, allocations: 249.6 kB / 1.063 GB, free: 70.08 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.685, allocations: 1.907 MB / 1.065 GB, free: 68.33 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/0.6855, allocations: 110.4 kB / 1.065 GB, free: 68.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.74e-05/0.6856, allocations: 47.53 kB / 1.065 GB, free: 68.3 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.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.0002863/0.6858, allocations: 233.7 kB / 1.065 GB, free: 68.14 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.686, allocations: 149.3 kB / 1.065 GB, free: 68.08 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.6875, allocations: 1.196 MB / 1.066 GB, free: 67.94 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.6875, allocations: 15.02 kB / 1.066 GB, free: 67.94 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.6875, allocations: 0 / 1.066 GB, free: 67.94 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.6875, allocations: 7.125 kB / 1.066 GB, free: 67.94 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002649/0.6901, allocations: 2.119 MB / 1.068 GB, free: 67.45 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.6902, allocations: 3.062 kB / 1.068 GB, free: 67.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004882/0.6906, allocations: 204.5 kB / 1.068 GB, free: 67.44 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003858/0.691, allocations: 115.6 kB / 1.069 GB, free: 67.43 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.409e-05/0.6911, allocations: 33.2 kB / 1.069 GB, free: 67.43 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.6921, allocations: 1.93 MB / 1.071 GB, free: 65.68 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6921, allocations: 0 / 1.071 GB, free: 65.68 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.6939, allocations: 1.316 MB / 1.072 GB, free: 65.31 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004/0.6943, allocations: 254.7 kB / 1.072 GB, free: 65.25 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.6944, allocations: 37.75 kB / 1.072 GB, free: 65.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.6948, allocations: 54.33 kB / 1.072 GB, free: 65.25 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.6949, allocations: 92.02 kB / 1.072 GB, free: 65.25 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.234e-05/0.695, allocations: 51.27 kB / 1.072 GB, free: 65.25 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004175/0.6954, allocations: 472.8 kB / 1.073 GB, free: 65.11 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6954, allocations: 0.6562 kB / 1.073 GB, free: 65.11 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001039/0.6964, allocations: 495.6 kB / 1.073 GB, free: 65.08 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.001636/0.6981, allocations: 0.7097 MB / 1.074 GB, free: 64.94 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.6995, allocations: 0.8282 MB / 1.075 GB, free: 64.73 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.6995, allocations: 0.9375 kB / 1.075 GB, free: 64.73 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005639/0.7, allocations: 0.5525 MB / 1.075 GB, free: 64.54 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.7011, allocations: 475.9 kB / 1.076 GB, free: 64.49 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/0.7046, allocations: 2.185 MB / 1.078 GB, free: 63.51 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.7048, allocations: 255.3 kB / 1.078 GB, free: 63.43 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00084/0.7057, allocations: 327.3 kB / 1.078 GB, free: 63.38 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.7059, allocations: 132.5 kB / 1.079 GB, free: 63.38 MB / 1.01 GB Notification: Performance of SimCode: time 1.523e-06/0.7059, allocations: 3.969 kB / 1.079 GB, free: 63.38 MB / 1.01 GB Notification: Performance of Templates: time 0.03344/0.7394, allocations: 22.26 MB / 1.1 GB, free: 61.14 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: 7.243717193137854]