Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001426/0.001426, allocations: 111.7 kB / 16.41 MB, free: 6.027 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.001686/0.001687, allocations: 182.8 kB / 17.34 MB, free: 5.625 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 68.14 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9475/0.9496, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2214/1.171, allocations: 176 MB / 1.26 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01523/1.186, allocations: 10.87 MB / 1.271 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/1.188, allocations: 31.81 kB / 1.271 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/1.189, allocations: 404.8 kB / 1.272 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003343/1.193, allocations: 1.068 MB / 1.273 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00449/1.197, allocations: 1.723 MB / 1.274 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00293/1.2, allocations: 2.307 MB / 1.276 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002058/1.202, allocations: 1.435 MB / 1.278 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003841/1.206, allocations: 1.289 MB / 1.279 GB, free: 10.52 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/1.207, allocations: 0.7974 MB / 1.28 GB, free: 9.715 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003337/1.208, allocations: 156 kB / 1.28 GB, free: 9.562 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003711/1.211, allocations: 1.415 MB / 1.281 GB, free: 8.145 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004976/1.212, allocations: 450.6 kB / 1.282 GB, free: 7.703 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/1.213, allocations: 0.7735 MB / 1.283 GB, free: 6.926 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003794/1.217, allocations: 2.551 MB / 1.285 GB, free: 4.367 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.217, allocations: 0 / 1.285 GB, free: 4.367 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/1.217, allocations: 0 / 1.285 GB, free: 4.367 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.306e-05/1.217, allocations: 0 / 1.285 GB, free: 4.367 MB / 1.014 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.003118/1.22, allocations: 1.876 MB / 1.287 GB, free: 2.434 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/1.22, allocations: 8.031 kB / 1.287 GB, free: 2.426 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/1.222, allocations: 345.9 kB / 1.287 GB, free: 2.086 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/1.223, allocations: 0.9914 MB / 1.288 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.374e-05/1.224, allocations: 90.31 kB / 1.288 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/1.224, allocations: 112 kB / 1.288 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/1.226, allocations: 1.294 MB / 1.29 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/1.226, allocations: 8 kB / 1.29 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/1.226, allocations: 56 kB / 1.29 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/1.226, allocations: 28 kB / 1.29 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/1.228, allocations: 1.445 MB / 1.291 GB, free: 13.94 MB / 1.029 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.005749/1.234, allocations: 3.817 MB / 1.295 GB, free: 9.973 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/1.236, allocations: 1.223 MB / 1.296 GB, free: 8.734 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007568/1.237, allocations: 449.1 kB / 1.297 GB, free: 8.293 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007319/1.238, allocations: 429.2 kB / 1.297 GB, free: 7.797 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/1.239, allocations: 0.6606 MB / 1.298 GB, free: 7.121 MB / 1.029 GB Notification: Performance of pre-optimization done (n=106): time 3.276e-06/1.239, allocations: 0 / 1.298 GB, free: 7.121 MB / 1.029 GB Notification: Performance of matching and sorting (n=106): time 0.003971/1.243, allocations: 1.602 MB / 1.299 GB, free: 5.488 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.243, allocations: 192.9 kB / 1.299 GB, free: 5.258 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/1.244, allocations: 0.8824 MB / 1.3 GB, free: 4.352 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.381e-05/1.244, allocations: 49.7 kB / 1.3 GB, free: 4.297 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004049/1.245, allocations: 0.5199 MB / 1.301 GB, free: 3.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000287/1.245, allocations: 350.9 kB / 1.301 GB, free: 3.422 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003151/1.245, allocations: 210.8 kB / 1.301 GB, free: 3.207 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.246, allocations: 349.8 kB / 1.302 GB, free: 2.859 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007134/1.246, allocations: 382.4 kB / 1.302 GB, free: 2.488 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000849/1.247, allocations: 0.5124 MB / 1.303 GB, free: 1.949 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/1.249, allocations: 0.868 MB / 1.303 GB, free: 1.062 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.249, allocations: 0 / 1.303 GB, free: 1.062 MB / 1.029 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002547/1.251, allocations: 1.169 MB / 1.305 GB, free: 15.89 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/1.251, allocations: 8 kB / 1.305 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/1.251, allocations: 0 / 1.305 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005731/1.252, allocations: 84.86 kB / 1.305 GB, free: 15.79 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009524/1.253, allocations: 235.6 kB / 1.305 GB, free: 15.56 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/1.255, allocations: 1.642 MB / 1.306 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009938/1.256, allocations: 133.2 kB / 1.307 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.977e-05/1.256, allocations: 47.97 kB / 1.307 GB, free: 13.59 MB / 1.045 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.0005961/1.257, allocations: 327.3 kB / 1.307 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/1.257, allocations: 118.5 kB / 1.307 GB, free: 13.14 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002956/1.26, allocations: 1.497 MB / 1.309 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/1.26, allocations: 16 kB / 1.309 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/1.26, allocations: 0 / 1.309 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/1.26, allocations: 7.969 kB / 1.309 GB, free: 11.6 MB / 1.045 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.004654/1.264, allocations: 2.847 MB / 1.311 GB, free: 8.645 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/1.264, allocations: 4 kB / 1.311 GB, free: 8.641 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008826/1.265, allocations: 195.8 kB / 1.312 GB, free: 8.449 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004289/1.266, allocations: 76.94 kB / 1.312 GB, free: 8.371 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.102e-05/1.266, allocations: 35.97 kB / 1.312 GB, free: 8.336 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/1.268, allocations: 1.666 MB / 1.313 GB, free: 6.527 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.268, allocations: 8.062 kB / 1.313 GB, free: 6.52 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003545/1.271, allocations: 1.862 MB / 1.315 GB, free: 4.617 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005766/1.272, allocations: 347.2 kB / 1.315 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/1.272, allocations: 27.91 kB / 1.315 GB, free: 4.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008505/1.273, allocations: 75.92 kB / 1.315 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/1.273, allocations: 92.98 kB / 1.316 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-05/1.273, allocations: 47.97 kB / 1.316 GB, free: 4.02 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008296/1.274, allocations: 0.6222 MB / 1.316 GB, free: 3.387 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.61e-07/1.274, allocations: 0 / 1.316 GB, free: 3.387 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001202/1.275, allocations: 455 kB / 1.317 GB, free: 2.941 MB / 1.045 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.001678/1.277, allocations: 0.7094 MB / 1.317 GB, free: 2.41 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002251/1.279, allocations: 1.105 MB / 1.318 GB, free: 1.293 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/1.279, allocations: 0 / 1.318 GB, free: 1.293 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/1.28, allocations: 0.6528 MB / 1.319 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/1.283, allocations: 0.5133 MB / 1.32 GB, free: 140 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005019/1.288, allocations: 2.538 MB / 1.322 GB, free: 13.54 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007166/1.288, allocations: 1.162 MB / 1.323 GB, free: 12.36 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004736/1.289, allocations: 159.3 kB / 1.323 GB, free: 12.2 MB / 1.061 GB Notification: Performance of SimCode: time 7.71e-07/1.289, allocations: 0 / 1.323 GB, free: 12.2 MB / 1.061 GB Notification: Performance of Templates: time 0.03609/1.325, allocations: 26.82 MB / 1.35 GB, free: 1.512 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches