Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001639/0.001639, allocations: 108 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.001822/0.001822, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.526/2.526, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 60.12 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.027, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002969/1.03, allocations: 1.589 MB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001372/1.032, allocations: 0.919 MB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.484e-05/1.032, allocations: 4 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002809/1.032, allocations: 63.64 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004535/1.032, allocations: 155.2 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.45e-05/1.033, allocations: 7.984 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000396/1.033, allocations: 377.5 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.458e-05/1.033, allocations: 48.75 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/1.033, allocations: 143.4 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/1.033, allocations: 131.3 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/1.033, allocations: 16 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.709e-05/1.034, allocations: 16 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-05/1.034, allocations: 51.7 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/1.034, allocations: 127.3 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002909/1.034, allocations: 288.6 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.034, allocations: 3.938 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.844e-06/1.034, allocations: 4 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.808e-06/1.034, allocations: 4 kB / 1.212 GB, free: 9.734 MB / 0.9356 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.001046/1.035, allocations: 0.6146 MB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/1.035, allocations: 12.03 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/1.035, allocations: 32.56 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/1.036, allocations: 390.2 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-06/1.036, allocations: 4.375 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/1.036, allocations: 384 / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/1.036, allocations: 101.2 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/1.036, allocations: 3.938 kB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/1.036, allocations: 8 kB / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.036, allocations: 0 / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/1.036, allocations: 71.86 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/1.036, allocations: 344.1 kB / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/1.037, allocations: 118.3 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.597e-05/1.037, allocations: 63.44 kB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/1.037, allocations: 0 / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/1.037, allocations: 50.44 kB / 1.214 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/1.037, allocations: 0 / 1.214 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003264/1.037, allocations: 177.1 kB / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/1.037, allocations: 132.5 kB / 1.214 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005414/1.038, allocations: 0.5171 MB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/1.038, allocations: 25.7 kB / 1.215 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/1.038, allocations: 160.6 kB / 1.215 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/1.038, allocations: 27.73 kB / 1.215 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/1.038, allocations: 21.7 kB / 1.215 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.038, allocations: 338.8 kB / 1.215 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.455e-05/1.038, allocations: 39.95 kB / 1.215 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-05/1.038, allocations: 55.39 kB / 1.215 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/1.038, allocations: 107.2 kB / 1.215 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.038, allocations: 4 kB / 1.215 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000193/1.039, allocations: 149.1 kB / 1.216 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/1.039, allocations: 4 kB / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.039, allocations: 4 kB / 1.216 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/1.039, allocations: 4.062 kB / 1.216 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/1.039, allocations: 15.98 kB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/1.039, allocations: 0 / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/1.039, allocations: 11.98 kB / 1.216 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/1.039, allocations: 0 / 1.216 GB, free: 5.859 MB / 0.9356 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.0001557/1.039, allocations: 177.8 kB / 1.216 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/1.039, allocations: 35.56 kB / 1.216 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/1.039, allocations: 183.7 kB / 1.216 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.039, allocations: 4 kB / 1.216 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.039, allocations: 0 / 1.216 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/1.039, allocations: 4 kB / 1.216 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/1.04, allocations: 305.4 kB / 1.216 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.04, allocations: 0 / 1.216 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.527e-05/1.04, allocations: 19.92 kB / 1.216 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/1.04, allocations: 0 / 1.216 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/1.04, allocations: 11.94 kB / 1.216 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.04, allocations: 7.938 kB / 1.216 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.04, allocations: 8.125 kB / 1.216 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/1.04, allocations: 187.2 kB / 1.217 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/1.04, allocations: 136.6 kB / 1.217 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/1.04, allocations: 4 kB / 1.217 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/1.04, allocations: 15.98 kB / 1.217 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/1.04, allocations: 11.92 kB / 1.217 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/1.04, allocations: 4 kB / 1.217 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000395/1.041, allocations: 391 kB / 1.217 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.041, allocations: 0 / 1.217 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002431/1.041, allocations: 40 kB / 1.217 GB, free: 4.23 MB / 0.9356 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.69e-05/1.041, allocations: 99.23 kB / 1.217 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001666/1.041, allocations: 87.86 kB / 1.217 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.041, allocations: 0 / 1.217 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.583e-05/1.041, allocations: 51.91 kB / 1.217 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/1.042, allocations: 65.98 kB / 1.217 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009885/1.043, allocations: 0.598 MB / 1.218 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/1.043, allocations: 0.8143 MB / 1.219 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/1.043, allocations: 19.44 kB / 1.219 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/1.043, allocations: 0 / 1.219 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of Templates: time 0.005483/1.049, allocations: 3.719 MB / 1.222 GB, free: 14.73 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches