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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001462/0.001463, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001953/0.001954, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.349/1.349, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.841/2.841, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.75 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3204, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1853/0.5057, allocations: 174.2 MB / 1.222 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.5205, allocations: 10.94 MB / 1.233 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.5218, allocations: 31.81 kB / 1.233 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.5233, allocations: 333.8 kB / 1.233 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.5269, allocations: 0.9837 MB / 1.234 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004293/0.5312, allocations: 1.522 MB / 1.236 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003427/0.5347, allocations: 2.677 MB / 1.238 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/0.5369, allocations: 1.266 MB / 1.24 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004023/0.5409, allocations: 1.127 MB / 1.241 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.5422, allocations: 0.7895 MB / 1.241 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003239/0.5425, allocations: 76 kB / 1.242 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.5456, allocations: 1.454 MB / 1.243 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004729/0.5461, allocations: 374.6 kB / 1.243 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009266/0.547, allocations: 0.7188 MB / 1.244 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003424/0.5505, allocations: 2.52 MB / 1.246 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5505, allocations: 0 / 1.246 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5505, allocations: 8 kB / 1.246 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.189e-05/0.5505, allocations: 0 / 1.246 GB, free: 1.098 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.5948/1.145, allocations: 1.876 MB / 1.248 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/1.145, allocations: 9.688 kB / 1.248 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/1.148, allocations: 356.1 kB / 1.249 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/1.15, allocations: 0.9439 MB / 1.25 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.939e-05/1.15, allocations: 91.92 kB / 1.25 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/1.15, allocations: 112.9 kB / 1.25 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/1.153, allocations: 1.297 MB / 1.251 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/1.153, allocations: 3.938 kB / 1.251 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/1.153, allocations: 61.45 kB / 1.251 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/1.153, allocations: 28.22 kB / 1.251 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/1.155, allocations: 1.449 MB / 1.253 GB, free: 194.9 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.006528/1.162, allocations: 4.059 MB / 1.256 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/1.164, allocations: 1.206 MB / 1.258 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007803/1.165, allocations: 455.4 kB / 1.258 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000728/1.165, allocations: 427.3 kB / 1.259 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/1.167, allocations: 0.6591 MB / 1.259 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=106): time 2.886e-06/1.167, allocations: 0 / 1.259 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106): time 0.004256/1.171, allocations: 1.605 MB / 1.261 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.225e-05/1.171, allocations: 199.1 kB / 1.261 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/1.172, allocations: 0.8756 MB / 1.262 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001426/1.173, allocations: 49.78 kB / 1.262 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/1.173, allocations: 0.517 MB / 1.262 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/1.173, allocations: 355 kB / 1.263 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004106/1.174, allocations: 213 kB / 1.263 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001035/1.174, allocations: 347.6 kB / 1.263 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008878/1.175, allocations: 382.5 kB / 1.264 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/1.176, allocations: 0.5039 MB / 1.264 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/1.178, allocations: 0.8672 MB / 1.265 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/1.178, allocations: 0.5625 kB / 1.265 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003172/1.181, allocations: 1.173 MB / 1.266 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/1.181, allocations: 6.344 kB / 1.266 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.181, allocations: 1.406 kB / 1.266 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006805/1.182, allocations: 84.98 kB / 1.266 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/1.183, allocations: 231.1 kB / 1.266 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/1.185, allocations: 1.539 MB / 1.268 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/1.186, allocations: 139.6 kB / 1.268 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/1.187, allocations: 47.17 kB / 1.268 GB, free: 189.7 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.0007543/1.187, allocations: 327.1 kB / 1.268 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/1.188, allocations: 121.6 kB / 1.268 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00383/1.191, allocations: 1.509 MB / 1.27 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/1.192, allocations: 15.31 kB / 1.27 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.192, allocations: 0.5 kB / 1.27 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/1.192, allocations: 6.297 kB / 1.27 GB, free: 189.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.005968/1.198, allocations: 2.831 MB / 1.273 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.198, allocations: 1.594 kB / 1.273 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009931/1.199, allocations: 196.3 kB / 1.273 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000541/1.199, allocations: 88.72 kB / 1.273 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-05/1.199, allocations: 31.42 kB / 1.273 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/1.201, allocations: 1.566 MB / 1.275 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.201, allocations: 5.969 kB / 1.275 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004035/1.205, allocations: 1.86 MB / 1.276 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009169/1.206, allocations: 347.6 kB / 1.277 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/1.206, allocations: 25.3 kB / 1.277 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/1.207, allocations: 86.69 kB / 1.277 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002847/1.207, allocations: 93.8 kB / 1.277 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/1.208, allocations: 47.39 kB / 1.277 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001057/1.209, allocations: 0.6248 MB / 1.278 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.209, allocations: 0 / 1.278 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001412/1.21, allocations: 462.1 kB / 1.278 GB, free: 184.8 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.001707/1.212, allocations: 0.716 MB / 1.279 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002513/1.214, allocations: 1.097 MB / 1.28 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.214, allocations: 1.438 kB / 1.28 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/1.216, allocations: 0.6689 MB / 1.28 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/1.218, allocations: 493.2 kB / 1.281 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004939/1.223, allocations: 2.924 MB / 1.284 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007134/1.224, allocations: 1.165 MB / 1.285 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001701/1.226, allocations: 367.5 kB / 1.285 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004048/1.226, allocations: 132.3 kB / 1.285 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.226, allocations: 5.188 kB / 1.285 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03579/1.262, allocations: 22.86 MB / 1.308 GB, free: 164.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/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