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: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 108 kB / 15.6 MB, free: 132 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.000948/0.0009481, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.173/1.173, 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.078/2.078, allocations: 390.2 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.91 kB / 0.8126 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5002/0.5014, allocations: 140.4 MB / 0.9497 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002012/0.5034, allocations: 1.576 MB / 0.9513 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009084/0.5043, allocations: 0.9108 MB / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.5044, allocations: 1.188 kB / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.5046, allocations: 69.45 kB / 0.9522 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.505, allocations: 155.4 kB / 0.9524 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.619e-05/0.505, allocations: 7.094 kB / 0.9524 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002833/0.5053, allocations: 371.3 kB / 0.9527 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.431e-05/0.5054, allocations: 46.11 kB / 0.9528 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.5055, allocations: 143 kB / 0.9529 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.5057, allocations: 138.2 kB / 0.953 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.5057, allocations: 14.66 kB / 0.953 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.408e-05/0.5057, allocations: 15.28 kB / 0.9531 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.647e-05/0.5058, allocations: 52.38 kB / 0.9531 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.5059, allocations: 130.2 kB / 0.9532 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.5061, allocations: 283.7 kB / 0.9535 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5061, allocations: 0 / 0.9535 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5061, allocations: 1.25 kB / 0.9535 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.5061, allocations: 3.938 kB / 0.9535 GB, free: 6.41 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.0007809/0.5069, allocations: 0.6289 MB / 0.9541 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.5069, allocations: 9.125 kB / 0.9541 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.262e-05/0.507, allocations: 35.88 kB / 0.9542 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.507, allocations: 30.59 kB / 0.9542 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.5074, allocations: 385.2 kB / 0.9546 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.5074, allocations: 9.578 kB / 0.9546 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.5074, allocations: 6.5 kB / 0.9546 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.5075, allocations: 93.86 kB / 0.9547 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.5075, allocations: 0 / 0.9547 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.5075, allocations: 1.156 kB / 0.9547 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.5075, allocations: 5.438 kB / 0.9547 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.986e-05/0.5076, allocations: 72.27 kB / 0.9547 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/0.5079, allocations: 355.7 kB / 0.9551 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.309e-05/0.508, allocations: 98.91 kB / 0.9552 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.508, allocations: 76.86 kB / 0.9552 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.508, allocations: 0 / 0.9552 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/0.508, allocations: 34.5 kB / 0.9553 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.5081, allocations: 3.656 kB / 0.9553 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002537/0.5083, allocations: 186.1 kB / 0.9555 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.5083, allocations: 134.9 kB / 0.9556 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.5088, allocations: 0.5083 MB / 0.9561 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.5088, allocations: 27.08 kB / 0.9561 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.5089, allocations: 163.2 kB / 0.9563 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.5089, allocations: 18.48 kB / 0.9563 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.5089, allocations: 19.22 kB / 0.9563 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.848e-05/0.509, allocations: 348.2 kB / 0.9566 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.452e-05/0.509, allocations: 36.25 kB / 0.9567 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.905e-05/0.5091, allocations: 62.22 kB / 0.9567 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.5092, allocations: 109 kB / 0.9568 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5092, allocations: 0 / 0.9568 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001763/0.5094, allocations: 147 kB / 0.957 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.669e-06/0.5094, allocations: 5.25 kB / 0.957 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.5094, allocations: 1.5 kB / 0.957 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.5094, allocations: 1.25 kB / 0.957 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.5095, allocations: 11.64 kB / 0.957 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.5095, allocations: 1.188 kB / 0.957 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.5097, allocations: 9.953 kB / 0.957 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.5097, allocations: 6.188 kB / 0.957 GB, free: 3.375 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.0001004/0.5098, allocations: 179.5 kB / 0.9572 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.5098, allocations: 34.28 kB / 0.9572 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.5101, allocations: 184 kB / 0.9574 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5101, allocations: 13.52 kB / 0.9574 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.5101, allocations: 1.281 kB / 0.9574 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5101, allocations: 2.125 kB / 0.9574 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.5103, allocations: 313.8 kB / 0.9577 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.5103, allocations: 0.75 kB / 0.9577 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-05/0.5104, allocations: 20.33 kB / 0.9577 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.5104, allocations: 1.125 kB / 0.9577 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.5104, allocations: 2.094 kB / 0.9577 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5104, allocations: 5.188 kB / 0.9577 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5104, allocations: 0.9375 kB / 0.9577 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.5106, allocations: 190.5 kB / 0.9579 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.793e-05/0.5107, allocations: 136 kB / 0.958 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.5108, allocations: 10.19 kB / 0.9581 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.5109, allocations: 10.2 kB / 0.9581 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.5109, allocations: 15.11 kB / 0.9581 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.5109, allocations: 3.125 kB / 0.9581 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000334/0.5113, allocations: 397.8 kB / 0.9585 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5113, allocations: 1 kB / 0.9585 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002333/0.5115, allocations: 36.78 kB / 0.9585 GB, free: 2.227 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 0.0002874/0.5118, allocations: 0.7318 MB / 0.9592 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001404/0.512, allocations: 84.3 kB / 0.9593 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.512, allocations: 1.125 kB / 0.9593 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.652e-05/0.512, allocations: 45.56 kB / 0.9593 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.5124, allocations: 63.16 kB / 0.9594 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.5152, allocations: 3.205 MB / 0.9625 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.5155, allocations: 0.8106 MB / 0.9633 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.5156, allocations: 57.44 kB / 0.9634 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.5157, allocations: 75.81 kB / 0.9634 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.5158, allocations: 0 / 0.9634 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.5365, allocations: 6.596 MB / 0.9699 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/7.225, allocations: 13.23 kB / 0.9699 GB, free: 11.19 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=31536000.000000 File[7]=75686.400000 " Variables in the reference:time,TSoi[1].T,TSoi[2].T,TSoi[3].T,TSoi[4].T Variables in the result:time,TSoi[1].T,TSoi[2].T,TSoi[3].T,TSoi[4].T,TSoi[1].cliCon.TSurAmp