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.00898/0.00898, allocations: 101.3 kB / 15.73 MB, free: 5.492 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.001949/0.001949, allocations: 188.8 kB / 16.67 MB, free: 5.422 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.104/2.104, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.89 kB / 0.9504 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6993/0.7007, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002398/0.7031, allocations: 1.587 MB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.7043, allocations: 0.9062 MB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.872e-05/0.7044, allocations: 1.125 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.7047, allocations: 71.56 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004229/0.7051, allocations: 147.1 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.327e-05/0.7052, allocations: 12.72 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.7055, allocations: 373.4 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.957e-05/0.7056, allocations: 43.83 kB / 1.09 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.7058, allocations: 149.8 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.706, allocations: 132.7 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.706, allocations: 15.38 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.075e-05/0.7061, allocations: 14.59 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.7062, allocations: 51.28 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.7063, allocations: 131.5 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.7066, allocations: 292.5 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7066, allocations: 1.062 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7066, allocations: 0 / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.7066, allocations: 0 / 1.091 GB, free: 2.898 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.0009592/0.7076, allocations: 0.6195 MB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.7076, allocations: 17.72 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.864e-05/0.7077, allocations: 36.22 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.844e-05/0.7077, allocations: 35.36 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/0.7082, allocations: 386.2 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.7082, allocations: 5.891 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.7082, allocations: 1.812 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.7084, allocations: 100.9 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.7084, allocations: 3.938 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.7084, allocations: 1.5 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.7084, allocations: 0 / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.7085, allocations: 71.42 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.7089, allocations: 357.4 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.709, allocations: 101.9 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.355e-05/0.7091, allocations: 62.86 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.7091, allocations: 1.594 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.7091, allocations: 45.34 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.7091, allocations: 0 / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003202/0.7095, allocations: 178.2 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.7095, allocations: 138.1 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006175/0.7101, allocations: 0.5157 MB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.7101, allocations: 29.7 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.7102, allocations: 169.2 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.7103, allocations: 11.19 kB / 1.094 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.7103, allocations: 25.19 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.7104, allocations: 342.3 kB / 1.094 GB, free: 468 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.009e-05/0.7105, allocations: 34.73 kB / 1.094 GB, free: 460 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.206e-05/0.7105, allocations: 64.59 kB / 1.094 GB, free: 412 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.7107, allocations: 100.9 kB / 1.095 GB, free: 360 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7107, allocations: 0 / 1.095 GB, free: 360 kB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002069/0.7109, allocations: 151.2 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.7109, allocations: 12.81 kB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.7109, allocations: 2.266 kB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.7109, allocations: 0.9375 kB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.7111, allocations: 14.88 kB / 1.095 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.7111, allocations: 2.297 kB / 1.095 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.7112, allocations: 9.609 kB / 1.095 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.7112, allocations: 3.734 kB / 1.095 GB, free: 272 kB / 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.0001246/0.7114, allocations: 173.3 kB / 1.095 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.7114, allocations: 36.53 kB / 1.095 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.7117, allocations: 188.5 kB / 1.095 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.7118, allocations: 6.578 kB / 1.095 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7118, allocations: 1.125 kB / 1.095 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.7118, allocations: 1.578 kB / 1.095 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.7121, allocations: 308.6 kB / 1.095 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.7122, allocations: 0.9688 kB / 1.095 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.7122, allocations: 19.23 kB / 1.095 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.7123, allocations: 5.312 kB / 1.095 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.7123, allocations: 2.422 kB / 1.095 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.7123, allocations: 6.094 kB / 1.095 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.7123, allocations: 1.594 kB / 1.095 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.7126, allocations: 197.4 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.7127, allocations: 135.5 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.7128, allocations: 3.188 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.7129, allocations: 13.89 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.713, allocations: 10.58 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.713, allocations: 6.875 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000513/0.7135, allocations: 396 kB / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7135, allocations: 0.9375 kB / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002617/0.7138, allocations: 36.25 kB / 1.096 GB, free: 15.33 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 0.0005059/0.7143, allocations: 0.7301 MB / 1.097 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001922/0.7145, allocations: 87.47 kB / 1.097 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.7145, allocations: 0 / 1.097 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.7146, allocations: 43.05 kB / 1.097 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.715, allocations: 68.77 kB / 1.097 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.7189, allocations: 3.176 MB / 1.1 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.7193, allocations: 0.8204 MB / 1.101 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001605/0.7194, allocations: 57.3 kB / 1.101 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.7196, allocations: 76.64 kB / 1.101 GB, free: 12 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/0.7196, allocations: 0 / 1.101 GB, free: 12 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.7466, allocations: 6.634 MB / 1.108 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/8.403, allocations: 14.78 kB / 1.108 GB, free: 11.36 MB / 0.8731 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 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.mat","/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) Reference file matches