Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009201/0.00092, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001164, allocations: 185.1 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.603/2.603, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000412/0.0004122, allocations: 8 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8214/0.8219, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1858/1.008, allocations: 171.9 MB / 1.192 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01489/1.023, allocations: 10.79 MB / 1.202 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/1.024, allocations: 31.81 kB / 1.202 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001214/1.026, allocations: 333.7 kB / 1.202 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003238/1.029, allocations: 0.9797 MB / 1.203 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004132/1.033, allocations: 1.528 MB / 1.205 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003332/1.036, allocations: 2.657 MB / 1.208 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001927/1.038, allocations: 1.214 MB / 1.209 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003778/1.042, allocations: 1.051 MB / 1.21 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/1.043, allocations: 0.6882 MB / 1.21 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/1.043, allocations: 44 kB / 1.21 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/1.046, allocations: 1.427 MB / 1.212 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003369/1.047, allocations: 314.7 kB / 1.212 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007685/1.047, allocations: 0.6658 MB / 1.213 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002507/1.05, allocations: 1.843 MB / 1.215 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.05, allocations: 0 / 1.215 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.114e-06/1.05, allocations: 4 kB / 1.215 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.078e-05/1.05, allocations: 0 / 1.215 GB, free: 11.67 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002969/1.053, allocations: 1.596 MB / 1.216 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/1.053, allocations: 12.03 kB / 1.216 GB, free: 10 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002112/1.055, allocations: 365.8 kB / 1.217 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/1.057, allocations: 0.9447 MB / 1.217 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.911e-05/1.057, allocations: 90.33 kB / 1.218 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/1.057, allocations: 116 kB / 1.218 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/1.059, allocations: 1.298 MB / 1.219 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/1.059, allocations: 0 / 1.219 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/1.059, allocations: 52 kB / 1.219 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/1.059, allocations: 28 kB / 1.219 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002379/1.062, allocations: 1.457 MB / 1.22 GB, free: 5.547 MB / 0.9669 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.006225/1.068, allocations: 4.104 MB / 1.224 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/1.07, allocations: 1.223 MB / 1.226 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007595/1.071, allocations: 452.4 kB / 1.226 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007416/1.072, allocations: 445.3 kB / 1.226 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/1.073, allocations: 0.6683 MB / 1.227 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 6.483e-06/1.073, allocations: 0 / 1.227 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106): time 0.003955/1.077, allocations: 1.621 MB / 1.229 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.737e-05/1.077, allocations: 192.9 kB / 1.229 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/1.078, allocations: 0.8786 MB / 1.23 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-05/1.078, allocations: 49.7 kB / 1.23 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004222/1.079, allocations: 0.5082 MB / 1.23 GB, free: 11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/1.079, allocations: 362.9 kB / 1.231 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/1.079, allocations: 89.67 kB / 1.231 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.079, allocations: 357.8 kB / 1.231 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007397/1.08, allocations: 386.4 kB / 1.231 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008445/1.081, allocations: 0.5085 MB / 1.232 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/1.082, allocations: 0.8719 MB / 1.233 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.082, allocations: 0 / 1.233 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002517/1.085, allocations: 1.176 MB / 1.234 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/1.085, allocations: 11.98 kB / 1.234 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.085, allocations: 0 / 1.234 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006045/1.086, allocations: 84.88 kB / 1.234 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009723/1.087, allocations: 231.7 kB / 1.234 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/1.089, allocations: 1.543 MB / 1.236 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/1.09, allocations: 148.5 kB / 1.236 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/1.09, allocations: 47.97 kB / 1.236 GB, free: 4.996 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (128): * Single equations (assignments): 127 * 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.0006359/1.091, allocations: 330.1 kB / 1.236 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/1.091, allocations: 114.6 kB / 1.236 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/1.094, allocations: 1.525 MB / 1.238 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/1.094, allocations: 15.94 kB / 1.238 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/1.094, allocations: 0 / 1.238 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/1.094, allocations: 7.969 kB / 1.238 GB, free: 2.984 MB / 0.9825 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 postOpt removeSimpleEquations (simulation): time 0.004663/1.098, allocations: 2.838 MB / 1.241 GB, free: 40 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.099, allocations: 4 kB / 1.241 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009069/1.099, allocations: 207.9 kB / 1.241 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005357/1.1, allocations: 80.77 kB / 1.241 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.315e-05/1.1, allocations: 39.97 kB / 1.241 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/1.102, allocations: 1.556 MB / 1.242 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.102, allocations: 4 kB / 1.242 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/1.105, allocations: 1.883 MB / 1.244 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006639/1.106, allocations: 363.2 kB / 1.245 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/1.106, allocations: 27.94 kB / 1.245 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/1.107, allocations: 99.83 kB / 1.245 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/1.108, allocations: 88.88 kB / 1.245 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.89e-05/1.108, allocations: 47.97 kB / 1.245 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001/1.109, allocations: 0.6261 MB / 1.246 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/1.109, allocations: 0 / 1.246 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001382/1.11, allocations: 463.1 kB / 1.246 GB, free: 10.37 MB / 0.9981 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001825/1.112, allocations: 0.7038 MB / 1.247 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002432/1.114, allocations: 1.101 MB / 1.248 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.114, allocations: 0 / 1.248 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/1.116, allocations: 0.6604 MB / 1.248 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/1.119, allocations: 498.1 kB / 1.249 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00513/1.124, allocations: 3.067 MB / 1.252 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008815/1.125, allocations: 1.159 MB / 1.253 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005222/1.125, allocations: 151.4 kB / 1.253 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.125, allocations: 0 / 1.253 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of Templates: time 0.6511/1.776, allocations: 26.66 MB / 1.279 GB, free: 219.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches