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.008373/0.008373, allocations: 100.3 kB / 15.73 MB, free: 6.031 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.001897/0.001897, allocations: 190.9 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.579/1.579, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.656/2.656, allocations: 390.3 MB / 0.6648 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001502, allocations: 62.03 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3086, allocations: 140.4 MB / 1.087 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003328/0.312, allocations: 1.578 MB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.3139, allocations: 0.9203 MB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.314, allocations: 4 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.3144, allocations: 63.64 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006603/0.3151, allocations: 151.3 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.056e-05/0.3152, allocations: 8 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005279/0.3157, allocations: 374.2 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.3158, allocations: 40.75 kB / 1.091 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003071/0.3161, allocations: 147.3 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.3164, allocations: 139.3 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/0.3164, allocations: 16 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.305e-05/0.3165, allocations: 20 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.3166, allocations: 43.78 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.3168, allocations: 135.1 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.3171, allocations: 282.7 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3171, allocations: 3.938 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3171, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.3171, allocations: 0 / 1.091 GB, free: 14.14 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.001316/0.3184, allocations: 0.6301 MB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3185, allocations: 8.031 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.186e-05/0.3185, allocations: 34.73 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.16e-05/0.3186, allocations: 36.56 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.3193, allocations: 386.2 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.3193, allocations: 12.3 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.3193, allocations: 4.375 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.3195, allocations: 97.2 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3195, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3195, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3196, allocations: 4 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.3197, allocations: 75.84 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.3202, allocations: 352 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.3203, allocations: 110.4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.898e-05/0.3204, allocations: 59.39 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.3204, allocations: 4 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.3205, allocations: 38.5 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3205, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003949/0.3209, allocations: 185.5 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/0.321, allocations: 136.5 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006587/0.3216, allocations: 0.5132 MB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3217, allocations: 25.7 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.3218, allocations: 160.1 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3218, allocations: 11.89 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.3219, allocations: 29.56 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.322, allocations: 342.8 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.35e-05/0.3221, allocations: 31.97 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.473e-05/0.3222, allocations: 63.39 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.3223, allocations: 99.3 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3223, allocations: 0 / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002317/0.3226, allocations: 157.1 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3226, allocations: 4 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3226, allocations: 7.938 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3226, allocations: 0 / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.3227, allocations: 11.98 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.3228, allocations: 0 / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.3229, allocations: 11.98 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.3229, allocations: 3.938 kB / 1.095 GB, free: 10.21 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.000168/0.3231, allocations: 185.8 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.3232, allocations: 35.5 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/0.3235, allocations: 183.7 kB / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3235, allocations: 7.984 kB / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3236, allocations: 0 / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3236, allocations: 0 / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.3239, allocations: 305.6 kB / 1.095 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3239, allocations: 4 kB / 1.095 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.567e-05/0.324, allocations: 19.92 kB / 1.095 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.324, allocations: 0 / 1.095 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.324, allocations: 8 kB / 1.095 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.324, allocations: 0 / 1.095 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.324, allocations: 4 kB / 1.095 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.3243, allocations: 195.1 kB / 1.096 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.3244, allocations: 140.6 kB / 1.096 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.3245, allocations: 4 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.3246, allocations: 11.98 kB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.3247, allocations: 7.984 kB / 1.096 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.3247, allocations: 4 kB / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004559/0.3251, allocations: 395 kB / 1.096 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3251, allocations: 4 kB / 1.096 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002547/0.3254, allocations: 40 kB / 1.096 GB, free: 8.578 MB / 0.8575 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.0005151/0.3259, allocations: 0.7323 MB / 1.097 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001828/0.3261, allocations: 87.86 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3261, allocations: 0 / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.635e-05/0.3262, allocations: 47.91 kB / 1.097 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.3266, allocations: 65.95 kB / 1.097 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.3307, allocations: 3.169 MB / 1.1 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.3311, allocations: 0.8142 MB / 1.101 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000142/0.3313, allocations: 50.27 kB / 1.101 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.3314, allocations: 87.39 kB / 1.101 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3315, allocations: 0 / 1.101 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.096/3.428, allocations: 6.768 MB / 1.108 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/18.46, allocations: 11.45 kB / 1.108 GB, free: 12.77 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