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.001077/0.001077, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008516/0.008516, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.421/1.421, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.725/2.725, allocations: 462.6 MB / 0.7363 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003512, allocations: 10.34 kB / 0.9027 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3131, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1827/0.4958, allocations: 171.9 MB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01412/0.51, allocations: 10.77 MB / 1.237 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.5114, allocations: 27.81 kB / 1.237 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.5125, allocations: 333.7 kB / 1.237 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003291/0.5158, allocations: 0.9846 MB / 1.238 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004293/0.5201, allocations: 1.518 MB / 1.24 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003558/0.5237, allocations: 2.685 MB / 1.242 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/0.5259, allocations: 1.21 MB / 1.244 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00392/0.5298, allocations: 1.043 MB / 1.245 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.5313, allocations: 0.6881 MB / 1.245 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002917/0.5316, allocations: 47.94 kB / 1.245 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.5345, allocations: 1.419 MB / 1.247 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003862/0.5349, allocations: 322.7 kB / 1.247 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.536, allocations: 0.6736 MB / 1.248 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003878/0.5398, allocations: 2.469 MB / 1.25 GB, free: 172 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5399, allocations: 0 / 1.25 GB, free: 172 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5399, allocations: 0 / 1.25 GB, free: 172 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.953e-05/0.54, allocations: 0 / 1.25 GB, free: 172 kB / 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.6246/1.165, allocations: 1.58 MB / 1.252 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/1.165, allocations: 16.78 kB / 1.252 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002642/1.167, allocations: 366.2 kB / 1.252 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/1.169, allocations: 0.9487 MB / 1.253 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.611e-05/1.169, allocations: 86.52 kB / 1.253 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/1.17, allocations: 113.3 kB / 1.253 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002555/1.172, allocations: 1.301 MB / 1.254 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/1.172, allocations: 0 / 1.254 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/1.172, allocations: 58.38 kB / 1.254 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/1.172, allocations: 28.69 kB / 1.254 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/1.175, allocations: 1.46 MB / 1.256 GB, free: 191.7 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.006724/1.181, allocations: 4.089 MB / 1.26 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/1.183, allocations: 1.233 MB / 1.261 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000778/1.184, allocations: 460.3 kB / 1.262 GB, free: 190 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007159/1.185, allocations: 439.5 kB / 1.262 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001211/1.186, allocations: 0.6642 MB / 1.263 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=106): time 2.705e-06/1.186, allocations: 0 / 1.263 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106): time 0.003931/1.19, allocations: 1.619 MB / 1.264 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/1.19, allocations: 194.2 kB / 1.264 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/1.191, allocations: 0.8828 MB / 1.265 GB, free: 189 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/1.192, allocations: 50.11 kB / 1.265 GB, free: 189 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004519/1.192, allocations: 0.5155 MB / 1.266 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003353/1.192, allocations: 354 kB / 1.266 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/1.193, allocations: 90.7 kB / 1.266 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.193, allocations: 345.9 kB / 1.267 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008971/1.194, allocations: 384.8 kB / 1.267 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/1.195, allocations: 0.5101 MB / 1.267 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/1.197, allocations: 0.8805 MB / 1.268 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.197, allocations: 0 / 1.268 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002907/1.2, allocations: 1.179 MB / 1.269 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/1.2, allocations: 4.953 kB / 1.269 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.2, allocations: 1.875 kB / 1.269 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006603/1.2, allocations: 85.31 kB / 1.27 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/1.201, allocations: 231.5 kB / 1.27 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/1.203, allocations: 1.534 MB / 1.271 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.204, allocations: 147 kB / 1.271 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/1.205, allocations: 51.34 kB / 1.271 GB, free: 186.5 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.0006343/1.205, allocations: 328.1 kB / 1.272 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/1.205, allocations: 117 kB / 1.272 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/1.209, allocations: 1.523 MB / 1.273 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/1.209, allocations: 15.19 kB / 1.273 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.209, allocations: 4.531 kB / 1.273 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/1.21, allocations: 6.047 kB / 1.273 GB, free: 186.2 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.005434/1.215, allocations: 2.837 MB / 1.276 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.215, allocations: 1.281 kB / 1.276 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009132/1.216, allocations: 203.7 kB / 1.276 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005458/1.216, allocations: 87.3 kB / 1.276 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.534e-05/1.217, allocations: 35.8 kB / 1.276 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001653/1.218, allocations: 1.57 MB / 1.278 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.218, allocations: 6.844 kB / 1.278 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003715/1.222, allocations: 1.875 MB / 1.28 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006791/1.223, allocations: 356.8 kB / 1.28 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002651/1.223, allocations: 25.56 kB / 1.28 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.224, allocations: 103.4 kB / 1.28 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/1.224, allocations: 93.56 kB / 1.28 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/1.224, allocations: 51.12 kB / 1.28 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009709/1.225, allocations: 0.6255 MB / 1.281 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.225, allocations: 0 / 1.281 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001653/1.227, allocations: 461.4 kB / 1.281 GB, free: 181.7 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.001824/1.229, allocations: 0.7024 MB / 1.282 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002692/1.232, allocations: 1.099 MB / 1.283 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.232, allocations: 0.9688 kB / 1.283 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/1.233, allocations: 0.664 MB / 1.284 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/1.236, allocations: 0.4891 MB / 1.284 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/1.241, allocations: 3.011 MB / 1.287 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008839/1.242, allocations: 1.16 MB / 1.288 GB, free: 178 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001803/1.244, allocations: 380.6 kB / 1.289 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00051/1.245, allocations: 133.8 kB / 1.289 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/1.245, allocations: 0 / 1.289 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.03774/1.282, allocations: 22.73 MB / 1.311 GB, free: 160.9 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches