Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",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.006904/0.006904, allocations: 105 kB / 15.74 MB, free: 6.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.001644/0.001644, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.597/2.597, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 64.12 kB / 1.054 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3012, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002507/0.3037, allocations: 1.574 MB / 1.209 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.3051, allocations: 0.9155 MB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.3052, allocations: 4 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.3054, allocations: 67.64 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004725/0.3059, allocations: 147.3 kB / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.001e-05/0.306, allocations: 11.94 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000396/0.3064, allocations: 374.2 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.044e-05/0.3065, allocations: 44.73 kB / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.3067, allocations: 151.3 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.3069, allocations: 131.4 kB / 1.211 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.307, allocations: 19.98 kB / 1.211 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.1e-05/0.307, allocations: 16 kB / 1.211 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.411e-05/0.3071, allocations: 47.72 kB / 1.211 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.3072, allocations: 135.2 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.3075, allocations: 283.3 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3075, allocations: 0 / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3075, allocations: 0 / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.3075, allocations: 0 / 1.211 GB, free: 6.27 MB / 0.9669 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.001089/0.3086, allocations: 0.6302 MB / 1.212 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3087, allocations: 8.625 kB / 1.212 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.728e-05/0.3087, allocations: 38.69 kB / 1.212 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.305e-05/0.3088, allocations: 36.41 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005711/0.3093, allocations: 386.3 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3094, allocations: 4.375 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.3094, allocations: 384 / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.3095, allocations: 105.2 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3095, allocations: 0 / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.3096, allocations: 3.938 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3096, allocations: 4 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.59e-05/0.3097, allocations: 67.92 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.31, allocations: 356 kB / 1.213 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.3101, allocations: 110.3 kB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.749e-05/0.3102, allocations: 67.45 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.3103, allocations: 4 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.3103, allocations: 46.44 kB / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3103, allocations: 0 / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003402/0.3106, allocations: 181.1 kB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.3107, allocations: 133 kB / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005397/0.3112, allocations: 0.5171 MB / 1.214 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.3113, allocations: 25.7 kB / 1.214 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.81e-05/0.3114, allocations: 160.1 kB / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.3114, allocations: 19.8 kB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.3115, allocations: 17.72 kB / 1.214 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3116, allocations: 342.8 kB / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.821e-05/0.3116, allocations: 27.97 kB / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.305e-05/0.3117, allocations: 67.39 kB / 1.214 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.3118, allocations: 99.3 kB / 1.214 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3118, allocations: 4 kB / 1.214 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001986/0.312, allocations: 153.1 kB / 1.215 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.312, allocations: 4 kB / 1.215 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3121, allocations: 4 kB / 1.215 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3121, allocations: 0 / 1.215 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.3122, allocations: 15.92 kB / 1.215 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3122, allocations: 0 / 1.215 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.3123, allocations: 11.98 kB / 1.215 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3124, allocations: 3.938 kB / 1.215 GB, free: 2.336 MB / 0.9669 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.0001402/0.3125, allocations: 177.8 kB / 1.215 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.3125, allocations: 35.66 kB / 1.215 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.3129, allocations: 191.6 kB / 1.215 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3129, allocations: 4 kB / 1.215 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3129, allocations: 0 / 1.215 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3129, allocations: 4 kB / 1.215 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.3131, allocations: 301.5 kB / 1.215 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3131, allocations: 0 / 1.215 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.508e-05/0.3132, allocations: 24.05 kB / 1.215 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3132, allocations: 0 / 1.215 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3133, allocations: 8 kB / 1.215 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3133, allocations: 0 / 1.215 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3133, allocations: 3.938 kB / 1.215 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.3135, allocations: 191.3 kB / 1.215 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.3137, allocations: 140.6 kB / 1.216 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.3137, allocations: 7.938 kB / 1.216 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.3138, allocations: 7.984 kB / 1.216 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.3139, allocations: 15.92 kB / 1.216 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.3139, allocations: 4 kB / 1.216 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003908/0.3143, allocations: 395 kB / 1.216 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3143, allocations: 3.938 kB / 1.216 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002523/0.3145, allocations: 40 kB / 1.216 GB, free: 0.6992 MB / 0.9669 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.0004352/0.315, allocations: 0.7278 MB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001942/0.3152, allocations: 91.97 kB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3152, allocations: 0 / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.385e-05/0.3153, allocations: 47.91 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.3156, allocations: 66.02 kB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.3191, allocations: 3.166 MB / 1.22 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3194, allocations: 0.8104 MB / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001301/0.3195, allocations: 58.19 kB / 1.221 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.3197, allocations: 83.41 kB / 1.221 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3197, allocations: 3.938 kB / 1.221 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.3423, allocations: 6.771 MB / 1.228 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/7.955, allocations: 15.09 kB / 1.228 GB, free: 4.914 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches