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.0009781/0.0009781, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001452/0.001452, allocations: 173 kB / 23.49 MB, free: 1.051 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.9614/0.9614, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.056/2.056, allocations: 429.5 MB / 0.6736 GB, free: 4.031 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 2.635e-06/2.635e-06, allocations: 3.984 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.637e-05, allocations: 7.469 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1448/0.1448, allocations: 172.8 MB / 1.047 GB, free: 9.195 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.4436/0.5884, allocations: 11.18 MB / 1.058 GB, free: 47.7 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.5894, allocations: 38.5 kB / 1.058 GB, free: 47.7 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.5905, allocations: 429.3 kB / 1.058 GB, free: 47.7 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.593, allocations: 1.148 MB / 1.059 GB, free: 47.7 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003338/0.5964, allocations: 1.781 MB / 1.061 GB, free: 47.68 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002589/0.599, allocations: 2.437 MB / 1.064 GB, free: 47.68 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.6004, allocations: 1.1 MB / 1.065 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003223/0.6036, allocations: 1.903 MB / 1.066 GB, free: 47.56 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008488/0.6044, allocations: 0.6754 MB / 1.067 GB, free: 47.5 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002805/0.6047, allocations: 163.3 kB / 1.067 GB, free: 47.5 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.6068, allocations: 1.285 MB / 1.069 GB, free: 47.4 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003372/0.6071, allocations: 488.7 kB / 1.069 GB, free: 47.34 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000583/0.6077, allocations: 0.5525 MB / 1.07 GB, free: 47.27 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003053/0.6108, allocations: 2.089 MB / 1.072 GB, free: 47.01 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.6108, allocations: 0 / 1.072 GB, free: 47.01 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6108, allocations: 0 / 1.072 GB, free: 47.01 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.787e-05/0.6108, allocations: 3.938 kB / 1.072 GB, free: 47 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.002526/0.6134, allocations: 1.986 MB / 1.074 GB, free: 45.97 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.6134, allocations: 11.66 kB / 1.074 GB, free: 45.97 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.6151, allocations: 0.5598 MB / 1.074 GB, free: 45.81 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.6162, allocations: 0.9504 MB / 1.075 GB, free: 45.5 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.804e-05/0.6163, allocations: 92.31 kB / 1.075 GB, free: 45.49 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.6164, allocations: 132.2 kB / 1.075 GB, free: 45.49 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.6177, allocations: 1.377 MB / 1.077 GB, free: 44.8 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.6177, allocations: 1.031 kB / 1.077 GB, free: 44.8 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.81e-05/0.6178, allocations: 51.53 kB / 1.077 GB, free: 44.8 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.6178, allocations: 35.41 kB / 1.077 GB, free: 44.8 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.6189, allocations: 0.9564 MB / 1.078 GB, free: 44.78 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.003474/0.6224, allocations: 3.048 MB / 1.081 GB, free: 43.77 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.6235, allocations: 0.7084 MB / 1.081 GB, free: 43.73 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.6238, allocations: 249 kB / 1.082 GB, free: 43.72 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003208/0.6241, allocations: 115.6 kB / 1.082 GB, free: 43.72 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006176/0.6248, allocations: 0.7211 MB / 1.082 GB, free: 43.35 MB / 1.01 GB Notification: Performance of pre-optimization done (n=114): time 4.168e-06/0.6248, allocations: 0 / 1.082 GB, free: 43.35 MB / 1.01 GB Notification: Performance of matching and sorting (n=114): time 0.002073/0.6268, allocations: 1.074 MB / 1.083 GB, free: 43.23 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.6269, allocations: 204 kB / 1.084 GB, free: 43.01 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006004/0.6275, allocations: 0.7134 MB / 1.084 GB, free: 42.81 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.236e-05/0.6276, allocations: 50.67 kB / 1.084 GB, free: 42.78 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.6278, allocations: 0.5845 MB / 1.085 GB, free: 42.48 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.628, allocations: 395.1 kB / 1.085 GB, free: 42.23 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.6283, allocations: 231 kB / 1.085 GB, free: 42.2 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.562e-05/0.6283, allocations: 0.5269 MB / 1.086 GB, free: 41.71 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.6287, allocations: 187.6 kB / 1.086 GB, free: 41.71 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/0.6291, allocations: 0.5243 MB / 1.087 GB, free: 41.38 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007419/0.6298, allocations: 0.5245 MB / 1.087 GB, free: 41.29 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.6298, allocations: 4.125 kB / 1.087 GB, free: 41.29 MB / 1.01 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001413/0.6312, allocations: 0.8765 MB / 1.088 GB, free: 41.16 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.6313, allocations: 5.906 kB / 1.088 GB, free: 41.16 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6313, allocations: 3.281 kB / 1.088 GB, free: 41.16 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004843/0.6318, allocations: 133.9 kB / 1.088 GB, free: 41.14 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.6323, allocations: 252.3 kB / 1.088 GB, free: 41.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.6337, allocations: 1.903 MB / 1.09 GB, free: 39.39 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/0.6344, allocations: 103.8 kB / 1.09 GB, free: 39.34 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.6345, allocations: 54.62 kB / 1.09 GB, free: 39.34 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.0003927/0.6348, allocations: 233.1 kB / 1.091 GB, free: 39.18 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/0.6351, allocations: 156.3 kB / 1.091 GB, free: 39.12 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.6369, allocations: 1.185 MB / 1.092 GB, free: 38.97 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.6369, allocations: 12.09 kB / 1.092 GB, free: 38.97 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.6369, allocations: 1.688 kB / 1.092 GB, free: 38.97 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.6369, allocations: 9.797 kB / 1.092 GB, free: 38.97 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/0.6399, allocations: 2.124 MB / 1.094 GB, free: 38.46 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.6399, allocations: 1.188 kB / 1.094 GB, free: 38.46 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005179/0.6404, allocations: 199.6 kB / 1.094 GB, free: 38.46 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003936/0.6408, allocations: 117.2 kB / 1.094 GB, free: 38.45 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.625e-05/0.6409, allocations: 35.05 kB / 1.094 GB, free: 38.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009614/0.6418, allocations: 1.93 MB / 1.096 GB, free: 36.68 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6418, allocations: 1.062 kB / 1.096 GB, free: 36.68 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.6437, allocations: 1.311 MB / 1.098 GB, free: 36.31 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.644, allocations: 263.2 kB / 1.098 GB, free: 36.23 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.6442, allocations: 30.44 kB / 1.098 GB, free: 36.23 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/0.6445, allocations: 54.45 kB / 1.098 GB, free: 36.23 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.6447, allocations: 98.61 kB / 1.098 GB, free: 36.23 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/0.6448, allocations: 51.12 kB / 1.098 GB, free: 36.23 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004579/0.6452, allocations: 475.5 kB / 1.099 GB, free: 36.09 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6452, allocations: 0.625 kB / 1.099 GB, free: 36.09 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001174/0.6464, allocations: 0.4898 MB / 1.099 GB, free: 36 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.001447/0.6478, allocations: 0.7264 MB / 1.1 GB, free: 35.79 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.6492, allocations: 0.8203 MB / 1.1 GB, free: 35.57 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.6492, allocations: 2.562 kB / 1.101 GB, free: 35.57 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006145/0.6498, allocations: 0.5459 MB / 1.101 GB, free: 35.38 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.651, allocations: 473 kB / 1.101 GB, free: 35.34 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.6543, allocations: 2.184 MB / 1.104 GB, free: 34.33 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.6546, allocations: 254.7 kB / 1.104 GB, free: 34.24 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009029/0.6555, allocations: 337 kB / 1.104 GB, free: 34.18 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/0.6558, allocations: 136.3 kB / 1.104 GB, free: 34.18 MB / 1.01 GB Notification: Performance of SimCode: time 1.904e-06/0.6558, allocations: 0.6562 kB / 1.104 GB, free: 34.18 MB / 1.01 GB Notification: Performance of Templates: time 0.03423/0.69, allocations: 22.52 MB / 1.126 GB, free: 31.76 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.0187729930039495]