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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001083/0.001083, allocations: 99.42 kB / 16.02 MB, free: 76 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.001645/0.001645, allocations: 187 kB / 16.92 MB, free: 6.75 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.46/1.46, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.842/2.842, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003788, allocations: 8.438 kB / 0.9034 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.357, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1897/0.5468, allocations: 171.9 MB / 1.227 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01487/0.5617, allocations: 10.77 MB / 1.238 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.5635, allocations: 27.81 kB / 1.238 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.5647, allocations: 337.8 kB / 1.238 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003521/0.5682, allocations: 0.9761 MB / 1.239 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004354/0.5726, allocations: 1.533 MB / 1.241 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003508/0.5761, allocations: 2.673 MB / 1.243 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.5779, allocations: 1.21 MB / 1.244 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003737/0.5817, allocations: 1.044 MB / 1.245 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.5828, allocations: 0.688 MB / 1.246 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.583, allocations: 44 kB / 1.246 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003031/0.586, allocations: 1.427 MB / 1.247 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003557/0.5864, allocations: 322.7 kB / 1.248 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008282/0.5872, allocations: 0.6658 MB / 1.248 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0027/0.5899, allocations: 1.847 MB / 1.25 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.5899, allocations: 0 / 1.25 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.59, allocations: 0 / 1.25 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.59, allocations: 0 / 1.25 GB, free: 0.8008 MB / 0.9981 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.7122/1.302, allocations: 1.591 MB / 1.252 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/1.302, allocations: 15.09 kB / 1.252 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002563/1.305, allocations: 362.8 kB / 1.252 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/1.307, allocations: 0.9425 MB / 1.253 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.194e-05/1.307, allocations: 91.3 kB / 1.253 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/1.307, allocations: 112.5 kB / 1.253 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/1.31, allocations: 1.308 MB / 1.254 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/1.31, allocations: 0.5312 kB / 1.255 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/1.31, allocations: 56.91 kB / 1.255 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-05/1.31, allocations: 28.38 kB / 1.255 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/1.312, allocations: 1.455 MB / 1.256 GB, free: 191.5 MB / 0.9981 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.006948/1.319, allocations: 4.098 MB / 1.26 GB, free: 190 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/1.322, allocations: 1.215 MB / 1.261 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007615/1.322, allocations: 457.2 kB / 1.262 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000727/1.323, allocations: 441.1 kB / 1.262 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/1.324, allocations: 0.6636 MB / 1.263 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=106): time 3.306e-06/1.324, allocations: 0 / 1.263 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106): time 0.004019/1.328, allocations: 1.623 MB / 1.264 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/1.328, allocations: 196.9 kB / 1.264 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/1.33, allocations: 0.881 MB / 1.265 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/1.33, allocations: 50.61 kB / 1.265 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004135/1.33, allocations: 0.5141 MB / 1.266 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/1.331, allocations: 356.4 kB / 1.266 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/1.331, allocations: 87.3 kB / 1.266 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.331, allocations: 353 kB / 1.267 GB, free: 188 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008793/1.332, allocations: 382.3 kB / 1.267 GB, free: 188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/1.333, allocations: 0.5095 MB / 1.268 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/1.335, allocations: 0.8777 MB / 1.268 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.335, allocations: 0.5938 kB / 1.268 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003141/1.338, allocations: 1.174 MB / 1.27 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/1.338, allocations: 7.406 kB / 1.27 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/1.338, allocations: 1.859 kB / 1.27 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006399/1.338, allocations: 92.11 kB / 1.27 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/1.34, allocations: 232.2 kB / 1.27 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/1.341, allocations: 1.545 MB / 1.271 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/1.343, allocations: 149.3 kB / 1.271 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/1.343, allocations: 47.31 kB / 1.272 GB, free: 186.3 MB / 0.9981 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.000784/1.344, allocations: 326.4 kB / 1.272 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/1.344, allocations: 120.7 kB / 1.272 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003972/1.348, allocations: 1.518 MB / 1.273 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/1.348, allocations: 15.81 kB / 1.273 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.348, allocations: 0.5 kB / 1.273 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/1.348, allocations: 6.031 kB / 1.273 GB, free: 186 MB / 0.9981 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.005925/1.354, allocations: 2.837 MB / 1.276 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/1.354, allocations: 1.062 kB / 1.276 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000942/1.355, allocations: 203.7 kB / 1.276 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005436/1.356, allocations: 86.62 kB / 1.276 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.298e-05/1.356, allocations: 33.97 kB / 1.277 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/1.357, allocations: 1.572 MB / 1.278 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.357, allocations: 1.906 kB / 1.278 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003722/1.361, allocations: 1.878 MB / 1.28 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007541/1.362, allocations: 357.8 kB / 1.28 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/1.362, allocations: 26.25 kB / 1.28 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009936/1.363, allocations: 102.4 kB / 1.28 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/1.363, allocations: 98.39 kB / 1.28 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/1.363, allocations: 46.39 kB / 1.281 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001048/1.364, allocations: 0.6259 MB / 1.281 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.364, allocations: 0 / 1.281 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00158/1.366, allocations: 465.1 kB / 1.282 GB, free: 181.6 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.001793/1.368, allocations: 0.7031 MB / 1.282 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002451/1.37, allocations: 1.096 MB / 1.283 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/1.37, allocations: 2.031 kB / 1.283 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/1.372, allocations: 0.6569 MB / 1.284 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/1.374, allocations: 496.5 kB / 1.284 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/1.379, allocations: 3.064 MB / 1.287 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007147/1.38, allocations: 1.163 MB / 1.289 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005406/1.381, allocations: 150.5 kB / 1.289 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.381, allocations: 0 / 1.289 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.04082/1.421, allocations: 26.67 MB / 1.315 GB, free: 157.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches