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.007695/0.007695, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001661/0.001661, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.172/2.172, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.89 kB / 0.9508 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7837/0.7849, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002334/0.7873, allocations: 1.59 MB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.7885, allocations: 0.9193 MB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.7886, allocations: 1.969 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.7888, allocations: 59.11 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004435/0.7893, allocations: 151.9 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.476e-05/0.7893, allocations: 7.234 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003953/0.7897, allocations: 374.9 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.474e-05/0.7898, allocations: 43.41 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.79, allocations: 145.7 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.7902, allocations: 137.2 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.7903, allocations: 14.88 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.327e-05/0.7903, allocations: 15.28 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.895e-05/0.7904, allocations: 51.14 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.7906, allocations: 130.6 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.7909, allocations: 289.6 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7909, allocations: 8 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7909, allocations: 0 / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.7909, allocations: 0 / 1.092 GB, free: 3.125 MB / 0.8575 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.0009707/0.7919, allocations: 0.6178 MB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.7919, allocations: 13.44 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.554e-05/0.792, allocations: 30.56 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/0.7925, allocations: 390.9 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.7925, allocations: 1.406 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.7925, allocations: 14.09 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.7927, allocations: 97.09 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.7927, allocations: 4 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.7927, allocations: 0.8438 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.7927, allocations: 1.125 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.7928, allocations: 71.14 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.7932, allocations: 349.6 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.7933, allocations: 113.3 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.033e-05/0.7934, allocations: 63.05 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.7934, allocations: 5.203 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.7934, allocations: 41.95 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.7934, allocations: 0 / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003394/0.7938, allocations: 184.9 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.7938, allocations: 131.2 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006509/0.7945, allocations: 0.5151 MB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.7945, allocations: 27.23 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.7946, allocations: 164.1 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.7946, allocations: 15 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.7947, allocations: 30.12 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.7948, allocations: 346.3 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.287e-05/0.7948, allocations: 34.48 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/0.7949, allocations: 56.59 kB / 1.095 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.7951, allocations: 104.9 kB / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.7951, allocations: 0 / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002179/0.7953, allocations: 146.6 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.7953, allocations: 9.719 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7953, allocations: 5.062 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.7953, allocations: 2.188 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.7955, allocations: 10.61 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.7955, allocations: 2 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.7956, allocations: 9.828 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.7956, allocations: 7.25 kB / 1.095 GB, free: 0.5391 MB / 0.8575 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.0001445/0.7958, allocations: 178.2 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.7958, allocations: 35.69 kB / 1.095 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003336/0.7962, allocations: 184.9 kB / 1.096 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7962, allocations: 2.109 kB / 1.096 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7962, allocations: 1.406 kB / 1.096 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.7962, allocations: 1.125 kB / 1.096 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.7965, allocations: 313.2 kB / 1.096 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.7965, allocations: 1.156 kB / 1.096 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.292e-05/0.7966, allocations: 14.84 kB / 1.096 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.7966, allocations: 5.312 kB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.7966, allocations: 10.92 kB / 1.096 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.7966, allocations: 1.531 kB / 1.096 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7967, allocations: 0.9375 kB / 1.096 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.797, allocations: 186.8 kB / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.7971, allocations: 139.6 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.7972, allocations: 11.23 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.7974, allocations: 17.44 kB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.7974, allocations: 5.703 kB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.7974, allocations: 2.469 kB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005186/0.7979, allocations: 397.7 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7979, allocations: 0 / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000296/0.7982, allocations: 37 kB / 1.097 GB, free: 15.61 MB / 0.8731 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.82e-05/0.7983, allocations: 109.8 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.7985, allocations: 83.84 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7986, allocations: 0 / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.555e-05/0.7986, allocations: 51.67 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.799, allocations: 71.09 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.8, allocations: 0.5848 MB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.8005, allocations: 0.8129 MB / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.8006, allocations: 52.53 kB / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/0.8007, allocations: 22.56 kB / 1.098 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.8007, allocations: 0 / 1.098 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of Templates: time 0.008118/0.8088, allocations: 3.667 MB / 1.102 GB, free: 14.13 MB / 0.8731 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