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.001611/0.001611, allocations: 110.6 kB / 15.99 MB, free: 6.367 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.001586/0.001586, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.439/1.439, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.765/2.765, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 64.97 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.323, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.7312/1.054, allocations: 174.2 MB / 1.234 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01638/1.071, allocations: 10.78 MB / 1.245 GB, free: 300 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002709/1.073, allocations: 31.81 kB / 1.245 GB, free: 268 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001744/1.075, allocations: 333.8 kB / 1.245 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003948/1.079, allocations: 0.9994 MB / 1.246 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004887/1.084, allocations: 1.555 MB / 1.248 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003781/1.088, allocations: 2.384 MB / 1.25 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002848/1.091, allocations: 1.397 MB / 1.251 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004778/1.096, allocations: 1.259 MB / 1.252 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/1.097, allocations: 0.817 MB / 1.253 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000569/1.098, allocations: 156 kB / 1.253 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/1.101, allocations: 1.419 MB / 1.255 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007223/1.102, allocations: 462.6 kB / 1.255 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001404/1.103, allocations: 0.7852 MB / 1.256 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00347/1.107, allocations: 1.91 MB / 1.258 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.107, allocations: 0 / 1.258 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/1.107, allocations: 0 / 1.258 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.911e-05/1.107, allocations: 0 / 1.258 GB, free: 2.77 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.004652/1.112, allocations: 1.884 MB / 1.26 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/1.112, allocations: 12.03 kB / 1.26 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/1.114, allocations: 349.9 kB / 1.26 GB, free: 484 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/1.116, allocations: 0.9524 MB / 1.261 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/1.116, allocations: 86.33 kB / 1.261 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002871/1.117, allocations: 112 kB / 1.261 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002927/1.12, allocations: 1.294 MB / 1.262 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/1.12, allocations: 0 / 1.262 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/1.12, allocations: 56.48 kB / 1.263 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/1.12, allocations: 28 kB / 1.263 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002963/1.123, allocations: 1.453 MB / 1.264 GB, free: 12.38 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.008066/1.131, allocations: 4.067 MB / 1.268 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/1.134, allocations: 1.21 MB / 1.269 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008821/1.134, allocations: 451.8 kB / 1.27 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000844/1.135, allocations: 433.2 kB / 1.27 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/1.137, allocations: 0.6567 MB / 1.271 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 3.717e-06/1.137, allocations: 0 / 1.271 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106): time 0.004641/1.141, allocations: 1.602 MB / 1.272 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/1.142, allocations: 196.9 kB / 1.272 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/1.143, allocations: 0.8824 MB / 1.273 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/1.143, allocations: 49.7 kB / 1.273 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005519/1.144, allocations: 0.5199 MB / 1.274 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003917/1.144, allocations: 354.9 kB / 1.274 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004126/1.145, allocations: 210.7 kB / 1.274 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.145, allocations: 345.9 kB / 1.275 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008263/1.146, allocations: 382.4 kB / 1.275 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009931/1.147, allocations: 0.5085 MB / 1.276 GB, free: 92 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/1.149, allocations: 0.8718 MB / 1.276 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/1.149, allocations: 4 kB / 1.276 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002959/1.152, allocations: 1.161 MB / 1.277 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/1.152, allocations: 8 kB / 1.277 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.152, allocations: 0 / 1.277 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006903/1.152, allocations: 92.8 kB / 1.278 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/1.153, allocations: 227.7 kB / 1.278 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/1.156, allocations: 1.654 MB / 1.279 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/1.157, allocations: 135 kB / 1.28 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/1.157, allocations: 43.97 kB / 1.28 GB, free: 11.73 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.0007489/1.158, allocations: 331.5 kB / 1.28 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004025/1.158, allocations: 126.5 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003564/1.162, allocations: 1.513 MB / 1.282 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/1.162, allocations: 8 kB / 1.282 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.162, allocations: 4 kB / 1.282 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/1.162, allocations: 7.984 kB / 1.282 GB, free: 9.719 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.005679/1.168, allocations: 2.834 MB / 1.284 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/1.168, allocations: 4.188 kB / 1.284 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009688/1.169, allocations: 195.8 kB / 1.284 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005025/1.169, allocations: 80.72 kB / 1.285 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/1.169, allocations: 31.98 kB / 1.285 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/1.172, allocations: 1.681 MB / 1.286 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.172, allocations: 0 / 1.286 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004023/1.176, allocations: 1.868 MB / 1.288 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007155/1.176, allocations: 343.2 kB / 1.288 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003005/1.177, allocations: 28 kB / 1.288 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.178, allocations: 83.91 kB / 1.288 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/1.178, allocations: 88.81 kB / 1.289 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/1.178, allocations: 47.97 kB / 1.289 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001129/1.179, allocations: 0.6261 MB / 1.289 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.179, allocations: 0 / 1.289 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001472/1.181, allocations: 463 kB / 1.29 GB, free: 1.047 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.002602/1.184, allocations: 0.7122 MB / 1.29 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00379/1.187, allocations: 1.359 MB / 1.292 GB, free: 15.14 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.187, allocations: 0 / 1.292 GB, free: 15.14 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001439/1.189, allocations: 0.6567 MB / 1.292 GB, free: 14.47 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/1.192, allocations: 0.5289 MB / 1.293 GB, free: 13.97 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005414/1.197, allocations: 2.979 MB / 1.296 GB, free: 10.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/1.198, allocations: 1.156 MB / 1.297 GB, free: 9.75 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006221/1.199, allocations: 155.4 kB / 1.297 GB, free: 9.602 MB / 1.014 GB Notification: Performance of SimCode: time 8.51e-07/1.199, allocations: 0 / 1.297 GB, free: 9.602 MB / 1.014 GB Notification: Performance of Templates: time 0.04438/1.243, allocations: 26.85 MB / 1.323 GB, free: 14.88 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