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.0009537/0.0009537, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.001375/0.001375, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.9163/0.9163, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.283/2.283, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.583e-06/1.583e-06, allocations: 0 / 0.8897 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.55e-05, allocations: 6.312 kB / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1241/0.1241, allocations: 147.1 MB / 1.033 GB, free: 6.074 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.009464/0.1336, allocations: 9.155 MB / 1.042 GB, free: 12.9 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00058/0.1342, allocations: 39.69 kB / 1.042 GB, free: 12.86 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006908/0.1349, allocations: 325.2 kB / 1.043 GB, free: 12.54 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.1366, allocations: 1.017 MB / 1.044 GB, free: 11.52 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.1386, allocations: 1.457 MB / 1.045 GB, free: 10.05 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001541/0.1401, allocations: 2.427 MB / 1.048 GB, free: 7.621 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009402/0.1411, allocations: 1.089 MB / 1.049 GB, free: 6.496 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.1428, allocations: 1.482 MB / 1.05 GB, free: 5.066 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007297/0.1436, allocations: 0.6465 MB / 1.051 GB, free: 4.418 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.1437, allocations: 152 kB / 1.051 GB, free: 4.27 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.1449, allocations: 0.9278 MB / 1.052 GB, free: 3.34 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002684/0.1452, allocations: 466.5 kB / 1.052 GB, free: 2.883 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003394/0.1456, allocations: 0.5299 MB / 1.053 GB, free: 2.352 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.1474, allocations: 1.88 MB / 1.054 GB, free: 476 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1474, allocations: 0 / 1.054 GB, free: 476 kB / 1.01 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1474, allocations: 4 kB / 1.054 GB, free: 472 kB / 1.01 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.1475, allocations: 3.938 kB / 1.055 GB, free: 468 kB / 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.4796/0.6271, allocations: 1.951 MB / 1.056 GB, free: 65.49 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.6271, allocations: 10.16 kB / 1.056 GB, free: 65.49 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.6287, allocations: 0.5621 MB / 1.057 GB, free: 65.39 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.6297, allocations: 0.9317 MB / 1.058 GB, free: 65.11 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/0.6298, allocations: 96.81 kB / 1.058 GB, free: 65.11 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.6299, allocations: 128.2 kB / 1.058 GB, free: 65.11 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.631, allocations: 1.233 MB / 1.059 GB, free: 64.5 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.6311, allocations: 0 / 1.059 GB, free: 64.5 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.73e-05/0.6311, allocations: 48.09 kB / 1.059 GB, free: 64.5 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.6312, allocations: 32.19 kB / 1.059 GB, free: 64.5 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008281/0.632, allocations: 0.8097 MB / 1.06 GB, free: 64.46 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.003079/0.6351, allocations: 2.853 MB / 1.063 GB, free: 63.47 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007865/0.6359, allocations: 0.6296 MB / 1.064 GB, free: 63.43 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.6361, allocations: 217.1 kB / 1.064 GB, free: 63.41 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.6363, allocations: 125.5 kB / 1.064 GB, free: 63.4 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004804/0.6368, allocations: 0.677 MB / 1.065 GB, free: 63.02 MB / 1.01 GB Notification: Performance of pre-optimization done (n=114): time 3.456e-06/0.6368, allocations: 1.031 kB / 1.065 GB, free: 63.02 MB / 1.01 GB Notification: Performance of matching and sorting (n=114): time 0.001525/0.6383, allocations: 0.9612 MB / 1.065 GB, free: 62.89 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.6384, allocations: 206.8 kB / 1.066 GB, free: 62.68 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004218/0.6388, allocations: 0.6865 MB / 1.066 GB, free: 62.48 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/0.6389, allocations: 52.17 kB / 1.066 GB, free: 62.45 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.6391, allocations: 0.5878 MB / 1.067 GB, free: 62.15 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.6393, allocations: 397.5 kB / 1.067 GB, free: 61.9 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.6395, allocations: 238.2 kB / 1.068 GB, free: 61.87 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.6395, allocations: 0.5219 MB / 1.068 GB, free: 61.39 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.6397, allocations: 144.9 kB / 1.068 GB, free: 61.38 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.64, allocations: 458.6 kB / 1.069 GB, free: 61.1 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/0.6405, allocations: 464.9 kB / 1.069 GB, free: 61 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6405, allocations: 0 / 1.069 GB, free: 61 MB / 1.01 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0009932/0.6415, allocations: 0.7872 MB / 1.07 GB, free: 60.87 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.6415, allocations: 6.094 kB / 1.07 GB, free: 60.87 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.6415, allocations: 2.969 kB / 1.07 GB, free: 60.87 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004176/0.6419, allocations: 133.2 kB / 1.07 GB, free: 60.86 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.6424, allocations: 254.9 kB / 1.07 GB, free: 60.86 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.6434, allocations: 1.871 MB / 1.072 GB, free: 59.12 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/0.6438, allocations: 102.6 kB / 1.072 GB, free: 59.08 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-05/0.6438, allocations: 41.16 kB / 1.072 GB, free: 59.08 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.0002214/0.644, allocations: 234.8 kB / 1.072 GB, free: 58.92 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.6442, allocations: 150.6 kB / 1.073 GB, free: 58.86 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.6454, allocations: 1.127 MB / 1.074 GB, free: 58.71 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.6454, allocations: 11.12 kB / 1.074 GB, free: 58.71 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.6454, allocations: 0 / 1.074 GB, free: 58.71 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.6454, allocations: 7.062 kB / 1.074 GB, free: 58.71 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.6475, allocations: 1.879 MB / 1.076 GB, free: 58.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.6475, allocations: 0 / 1.076 GB, free: 58.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004598/0.648, allocations: 199 kB / 1.076 GB, free: 58.21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003608/0.6483, allocations: 122 kB / 1.076 GB, free: 58.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/0.6484, allocations: 34.98 kB / 1.076 GB, free: 58.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007977/0.6492, allocations: 1.901 MB / 1.078 GB, free: 56.47 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6492, allocations: 3.5 kB / 1.078 GB, free: 56.47 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.6504, allocations: 1.189 MB / 1.079 GB, free: 56.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.6506, allocations: 250.2 kB / 1.079 GB, free: 56.02 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-05/0.6507, allocations: 32.05 kB / 1.079 GB, free: 56.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.651, allocations: 46.53 kB / 1.079 GB, free: 56.02 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.6511, allocations: 99.05 kB / 1.079 GB, free: 56.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.887e-05/0.6512, allocations: 37.64 kB / 1.079 GB, free: 56.02 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002598/0.6514, allocations: 435.5 kB / 1.08 GB, free: 55.88 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6514, allocations: 1.094 kB / 1.08 GB, free: 55.88 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008904/0.6523, allocations: 496.4 kB / 1.08 GB, free: 55.8 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.001425/0.6537, allocations: 0.6997 MB / 1.081 GB, free: 55.62 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008369/0.6546, allocations: 0.7424 MB / 1.082 GB, free: 55.41 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.6546, allocations: 0 / 1.082 GB, free: 55.41 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.655, allocations: 0.5184 MB / 1.082 GB, free: 55.21 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.656, allocations: 473.3 kB / 1.083 GB, free: 55.16 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.6588, allocations: 2.153 MB / 1.085 GB, free: 54.16 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.659, allocations: 256.7 kB / 1.085 GB, free: 54.07 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006137/0.6596, allocations: 249.3 kB / 1.085 GB, free: 54.02 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007753/0.6604, allocations: 0.4989 MB / 1.086 GB, free: 53.95 MB / 1.01 GB Notification: Performance of SimCode: time 9.32e-07/0.6604, allocations: 1 kB / 1.086 GB, free: 53.95 MB / 1.01 GB Notification: Performance of Templates: time 0.03192/0.6923, allocations: 24.07 MB / 1.109 GB, free: 51.58 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.866899101063609]