Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 194.6 kB / 16.53 MB, free: 6.66 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.586/1.586, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.468/2.468, allocations: 390.2 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 64.08 kB / 0.8125 GB, free: 14.52 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9408/0.9424, allocations: 140.4 MB / 0.9496 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003385/0.9458, allocations: 1.59 MB / 0.9511 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.9473, allocations: 0.9096 MB / 0.952 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.9475, allocations: 2.406 kB / 0.952 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.9478, allocations: 60.66 kB / 0.9521 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006151/0.9484, allocations: 159.8 kB / 0.9522 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.378e-05/0.9485, allocations: 10.64 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000446/0.949, allocations: 375.4 kB / 0.9526 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.9491, allocations: 47.05 kB / 0.9526 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.9494, allocations: 130.3 kB / 0.9528 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.9497, allocations: 141.7 kB / 0.9529 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.843e-05/0.9497, allocations: 15.81 kB / 0.9529 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.354e-05/0.9498, allocations: 14.09 kB / 0.9529 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.621e-05/0.9499, allocations: 56.83 kB / 0.953 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.9501, allocations: 130.6 kB / 0.9531 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.9504, allocations: 278.7 kB / 0.9534 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.9504, allocations: 5.547 kB / 0.9534 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.255e-06/0.9504, allocations: 0 / 0.9534 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.9504, allocations: 0 / 0.9534 GB, free: 6.23 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00128/0.9517, allocations: 0.6246 MB / 0.954 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.9518, allocations: 9.562 kB / 0.954 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.9519, allocations: 31.28 kB / 0.954 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.9525, allocations: 389.4 kB / 0.9544 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.9525, allocations: 384 / 0.9544 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.9525, allocations: 9.688 kB / 0.9544 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.9527, allocations: 103.5 kB / 0.9545 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.9527, allocations: 0 / 0.9545 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.9527, allocations: 0 / 0.9545 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.9527, allocations: 1.125 kB / 0.9545 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.9528, allocations: 69.11 kB / 0.9546 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.9533, allocations: 349.7 kB / 0.9549 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.9534, allocations: 111.2 kB / 0.955 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.545e-05/0.9535, allocations: 63.83 kB / 0.9551 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.9535, allocations: 5.078 kB / 0.9551 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.9535, allocations: 45.03 kB / 0.9551 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.923e-06/0.9535, allocations: 3.984 kB / 0.9551 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003732/0.9539, allocations: 185.5 kB / 0.9553 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.954, allocations: 129.8 kB / 0.9554 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005585/0.9545, allocations: 0.5151 MB / 0.9559 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.9546, allocations: 29.7 kB / 0.9559 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.497e-05/0.9546, allocations: 162.7 kB / 0.9561 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.9547, allocations: 19.31 kB / 0.9561 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.9547, allocations: 16.56 kB / 0.9561 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.9548, allocations: 345.3 kB / 0.9565 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/0.9549, allocations: 32.97 kB / 0.9565 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.749e-05/0.9549, allocations: 67.08 kB / 0.9566 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.9551, allocations: 99.02 kB / 0.9567 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9551, allocations: 1.469 kB / 0.9567 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000182/0.9552, allocations: 143.3 kB / 0.9568 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.9553, allocations: 13.59 kB / 0.9568 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.9553, allocations: 0 / 0.9568 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.9553, allocations: 2.094 kB / 0.9568 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.9554, allocations: 15.17 kB / 0.9568 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.9554, allocations: 1.312 kB / 0.9568 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.9556, allocations: 9.359 kB / 0.9568 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.9556, allocations: 2.469 kB / 0.9568 GB, free: 3.238 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.9557, allocations: 179.6 kB / 0.957 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.9558, allocations: 38.69 kB / 0.957 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.9561, allocations: 191.1 kB / 0.9572 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.9561, allocations: 2.531 kB / 0.9572 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9562, allocations: 1.219 kB / 0.9572 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.9562, allocations: 1.719 kB / 0.9572 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.9564, allocations: 305.2 kB / 0.9575 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.9564, allocations: 5.391 kB / 0.9575 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.633e-05/0.9565, allocations: 16.47 kB / 0.9575 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.9565, allocations: 5.219 kB / 0.9575 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.9565, allocations: 13.44 kB / 0.9576 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.9565, allocations: 1.25 kB / 0.9576 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.9566, allocations: 1.281 kB / 0.9576 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.9568, allocations: 194 kB / 0.9577 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.9569, allocations: 136.2 kB / 0.9579 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.957, allocations: 6.125 kB / 0.9579 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.9571, allocations: 13.47 kB / 0.9579 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.9571, allocations: 7.562 kB / 0.9579 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.9572, allocations: 3.5 kB / 0.9579 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003949/0.9576, allocations: 393.9 kB / 0.9583 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9576, allocations: 1.125 kB / 0.9583 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002568/0.9578, allocations: 44.19 kB / 0.9583 GB, free: 2.086 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.56e-05/0.9579, allocations: 102.6 kB / 0.9584 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001908/0.9581, allocations: 84.3 kB / 0.9585 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.9581, allocations: 1.375 kB / 0.9585 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.295e-05/0.9582, allocations: 50.03 kB / 0.9586 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.9586, allocations: 70.86 kB / 0.9586 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009171/0.9595, allocations: 0.596 MB / 0.9592 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.9598, allocations: 0.8136 MB / 0.96 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001364/0.9599, allocations: 53.67 kB / 0.96 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.586e-05/0.96, allocations: 24.53 kB / 0.9601 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.96, allocations: 0 / 0.9601 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of Templates: time 0.007645/0.9676, allocations: 3.579 MB / 0.9636 GB, free: 14.96 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches