Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001501/0.001501, allocations: 104.9 kB / 16.27 MB, free: 6.402 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.001651/0.001651, allocations: 191.5 kB / 17.2 MB, free: 5.969 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.68/2.68, allocations: 469.8 MB / 0.743 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 64.31 kB / 0.9092 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3023, allocations: 159.1 MB / 1.065 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.7097/1.012, allocations: 176.5 MB / 1.237 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01738/1.029, allocations: 10.91 MB / 1.248 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/1.031, allocations: 31.81 kB / 1.248 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/1.033, allocations: 408.7 kB / 1.248 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003891/1.037, allocations: 1.098 MB / 1.249 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004768/1.042, allocations: 1.712 MB / 1.251 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003925/1.046, allocations: 2.365 MB / 1.253 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002599/1.048, allocations: 1.405 MB / 1.254 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003998/1.052, allocations: 1.265 MB / 1.256 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/1.054, allocations: 0.7935 MB / 1.257 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003239/1.054, allocations: 156 kB / 1.257 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003015/1.057, allocations: 1.392 MB / 1.258 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004854/1.058, allocations: 454.6 kB / 1.258 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009502/1.058, allocations: 0.7813 MB / 1.259 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004053/1.063, allocations: 2.536 MB / 1.262 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.063, allocations: 0 / 1.262 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/1.063, allocations: 0 / 1.262 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.279e-05/1.063, allocations: 0 / 1.262 GB, free: 14.9 MB / 0.9825 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.004163/1.067, allocations: 1.877 MB / 1.264 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/1.067, allocations: 16.56 kB / 1.264 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/1.069, allocations: 345.9 kB / 1.264 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/1.071, allocations: 0.9563 MB / 1.265 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.898e-05/1.071, allocations: 86.33 kB / 1.265 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/1.071, allocations: 116 kB / 1.265 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/1.074, allocations: 1.302 MB / 1.266 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/1.074, allocations: 0 / 1.266 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/1.074, allocations: 48 kB / 1.266 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/1.074, allocations: 35.92 kB / 1.266 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002705/1.077, allocations: 1.453 MB / 1.268 GB, free: 8.5 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 preOpt removeSimpleEquations (simulation): time 0.007326/1.084, allocations: 4.061 MB / 1.272 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/1.086, allocations: 1.218 MB / 1.273 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000891/1.087, allocations: 459.4 kB / 1.273 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008342/1.088, allocations: 421.3 kB / 1.274 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/1.089, allocations: 0.6684 MB / 1.274 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 2.715e-06/1.089, allocations: 0 / 1.274 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106): time 0.004414/1.094, allocations: 1.598 MB / 1.276 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/1.094, allocations: 200.9 kB / 1.276 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/1.095, allocations: 0.8862 MB / 1.277 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/1.096, allocations: 45.7 kB / 1.277 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005107/1.096, allocations: 0.5199 MB / 1.278 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000366/1.096, allocations: 354.9 kB / 1.278 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003599/1.097, allocations: 214.7 kB / 1.278 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.097, allocations: 341.9 kB / 1.278 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008079/1.098, allocations: 386.4 kB / 1.279 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009681/1.099, allocations: 0.5046 MB / 1.279 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/1.101, allocations: 0.8679 MB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.101, allocations: 0 / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002831/1.103, allocations: 1.169 MB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/1.103, allocations: 4 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.103, allocations: 4.078 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006133/1.104, allocations: 84.86 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/1.105, allocations: 231.7 kB / 1.282 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/1.108, allocations: 1.643 MB / 1.283 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/1.109, allocations: 133.2 kB / 1.283 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/1.109, allocations: 52.16 kB / 1.283 GB, free: 7.852 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.0008094/1.11, allocations: 324 kB / 1.284 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004168/1.11, allocations: 118.5 kB / 1.284 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/1.114, allocations: 1.505 MB / 1.285 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/1.114, allocations: 15.98 kB / 1.285 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.114, allocations: 0 / 1.285 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/1.114, allocations: 3.984 kB / 1.285 GB, free: 5.863 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.005727/1.12, allocations: 2.838 MB / 1.288 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/1.12, allocations: 4 kB / 1.288 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009533/1.121, allocations: 207.8 kB / 1.288 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/1.121, allocations: 68.8 kB / 1.288 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.075e-05/1.121, allocations: 35.97 kB / 1.288 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/1.123, allocations: 1.682 MB / 1.29 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/1.123, allocations: 7.938 kB / 1.29 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004013/1.127, allocations: 1.864 MB / 1.292 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000695/1.128, allocations: 339.3 kB / 1.292 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000262/1.128, allocations: 24 kB / 1.292 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/1.129, allocations: 77.81 kB / 1.292 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/1.13, allocations: 88.81 kB / 1.292 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/1.13, allocations: 52.03 kB / 1.292 GB, free: 14.28 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001045/1.131, allocations: 0.6261 MB / 1.293 GB, free: 13.64 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/1.131, allocations: 0 / 1.293 GB, free: 13.64 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00134/1.132, allocations: 467 kB / 1.293 GB, free: 13.18 MB / 1.014 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.002392/1.135, allocations: 0.7129 MB / 1.294 GB, free: 12.65 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003716/1.138, allocations: 1.363 MB / 1.295 GB, free: 11.28 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/1.138, allocations: 0 / 1.295 GB, free: 11.28 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/1.14, allocations: 0.6608 MB / 1.296 GB, free: 10.61 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/1.142, allocations: 0.5187 MB / 1.297 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/1.147, allocations: 2.456 MB / 1.299 GB, free: 7.598 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/1.148, allocations: 1.158 MB / 1.3 GB, free: 6.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/1.149, allocations: 155.3 kB / 1.3 GB, free: 6.262 MB / 1.014 GB Notification: Performance of SimCode: time 6.92e-07/1.149, allocations: 4 kB / 1.3 GB, free: 6.258 MB / 1.014 GB Notification: Performance of Templates: time 0.04126/1.19, allocations: 26.84 MB / 1.327 GB, free: 11.54 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches