Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.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_11_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_11_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.004919/0.004919, allocations: 101.7 kB / 15.73 MB, free: 6.062 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.001087/0.001087, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.531/2.531, allocations: 469.8 MB / 0.7425 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.89 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7668/0.7681, allocations: 159.1 MB / 1.221 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002489/0.7705, allocations: 1.599 MB / 1.222 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.7718, allocations: 0.9238 MB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.336e-05/0.7719, allocations: 0 / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.7721, allocations: 59.66 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000455/0.7726, allocations: 155.3 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 3.995e-05/0.7726, allocations: 15.92 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.773, allocations: 370.3 kB / 1.224 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.703e-05/0.7731, allocations: 32.75 kB / 1.224 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.7733, allocations: 139.4 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.7735, allocations: 139.3 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.7735, allocations: 12 kB / 1.224 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.578e-05/0.7735, allocations: 20 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.077e-05/0.7736, allocations: 51.7 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.7737, allocations: 127.3 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.774, allocations: 287.3 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.774, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/0.774, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.774, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 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.001026/0.7751, allocations: 0.6418 MB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.7751, allocations: 8.031 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.7751, allocations: 36.7 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004706/0.7756, allocations: 394.5 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.7756, allocations: 384 / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.7756, allocations: 384 / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.7758, allocations: 109.4 kB / 1.226 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.7758, allocations: 3.938 kB / 1.226 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.7758, allocations: 0 / 1.226 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.7758, allocations: 0 / 1.226 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.7759, allocations: 67.88 kB / 1.226 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.7763, allocations: 356.1 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.7764, allocations: 110.3 kB / 1.226 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.253e-05/0.7764, allocations: 55.47 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.7765, allocations: 11.97 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.7765, allocations: 42.5 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.7765, allocations: 0 / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.000328/0.7768, allocations: 185.2 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/0.7769, allocations: 133 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/0.7775, allocations: 0.5171 MB / 1.227 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.7775, allocations: 29.64 kB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.7776, allocations: 160.1 kB / 1.227 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.7776, allocations: 19.84 kB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.7777, allocations: 21.7 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.7778, allocations: 338.8 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.7779, allocations: 39.95 kB / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-05/0.7779, allocations: 55.41 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.7781, allocations: 103.3 kB / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7781, allocations: 0 / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000204/0.7783, allocations: 153.3 kB / 1.228 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.7783, allocations: 11.94 kB / 1.228 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.7783, allocations: 0 / 1.228 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.7783, allocations: 0 / 1.228 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.7784, allocations: 11.98 kB / 1.228 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.7784, allocations: 3.938 kB / 1.228 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.7786, allocations: 11.98 kB / 1.228 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.7786, allocations: 3.984 kB / 1.228 GB, free: 10.28 MB / 0.9512 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.0001412/0.7787, allocations: 178.4 kB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.7788, allocations: 35.75 kB / 1.228 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.7791, allocations: 195.8 kB / 1.228 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.7791, allocations: 0 / 1.228 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.7791, allocations: 0 / 1.228 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.7791, allocations: 7.938 kB / 1.228 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.7794, allocations: 309.4 kB / 1.229 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7794, allocations: 128 / 1.229 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.731e-05/0.7795, allocations: 16 kB / 1.229 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.7795, allocations: 7.938 kB / 1.229 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.7795, allocations: 7.984 kB / 1.229 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7795, allocations: 0 / 1.229 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.7795, allocations: 4 kB / 1.229 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.7797, allocations: 191.4 kB / 1.229 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.7799, allocations: 140.8 kB / 1.229 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.7799, allocations: 4 kB / 1.229 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.7801, allocations: 11.98 kB / 1.229 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.7801, allocations: 4 kB / 1.229 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.7801, allocations: 4 kB / 1.229 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004125/0.7805, allocations: 395 kB / 1.229 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.7805, allocations: 0 / 1.229 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002536/0.7808, allocations: 44 kB / 1.229 GB, free: 8.645 MB / 0.9512 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.064e-05/0.7808, allocations: 111.1 kB / 1.229 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001731/0.781, allocations: 79.86 kB / 1.23 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.781, allocations: 4 kB / 1.23 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.569e-05/0.7811, allocations: 47.91 kB / 1.23 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.7814, allocations: 65.95 kB / 1.23 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009128/0.7824, allocations: 0.5936 MB / 1.23 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.7827, allocations: 0.8143 MB / 1.231 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001115/0.7828, allocations: 54.25 kB / 1.231 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.902e-05/0.7829, allocations: 23.44 kB / 1.231 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of SimCode: time 4.2e-07/0.7829, allocations: 0 / 1.231 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of Templates: time 0.007011/0.7899, allocations: 3.621 MB / 1.235 GB, free: 3.219 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches