Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.UndisturbedSoilTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_9_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.006053/0.006053, allocations: 101 kB / 15.73 MB, free: 6.055 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.001409/0.001409, allocations: 196.6 kB / 16.68 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 15.11 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.126/2.126, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.89 kB / 0.9504 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8608/0.8622, allocations: 140.4 MB / 1.087 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002775/0.8651, allocations: 1.574 MB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.8664, allocations: 0.9141 MB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.8665, allocations: 2.188 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.8668, allocations: 67.72 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004994/0.8673, allocations: 151 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.426e-05/0.8674, allocations: 11.92 kB / 1.09 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004942/0.8679, allocations: 366.6 kB / 1.09 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.868, allocations: 47.69 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.8683, allocations: 145.5 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.8685, allocations: 145 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.8685, allocations: 16 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.544e-05/0.8686, allocations: 15.22 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.655e-05/0.8687, allocations: 46.84 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.8688, allocations: 130.9 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.8692, allocations: 295.9 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.8692, allocations: 1.5 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8692, allocations: 0 / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.8692, allocations: 0 / 1.091 GB, free: 2.754 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.001098/0.8703, allocations: 0.6237 MB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.8704, allocations: 9.719 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.8704, allocations: 32.22 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.13e-05/0.8705, allocations: 34.88 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.871, allocations: 390.6 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.871, allocations: 5.469 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.871, allocations: 1.531 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.8712, allocations: 104.5 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.8712, allocations: 0.7969 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.8712, allocations: 0.9375 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.8712, allocations: 0.7188 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.8713, allocations: 71.69 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.8718, allocations: 353.1 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.8719, allocations: 106.4 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.266e-05/0.872, allocations: 65.7 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.872, allocations: 1.328 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.872, allocations: 37.42 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.872, allocations: 0 / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003676/0.8724, allocations: 190.8 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.8724, allocations: 130.7 kB / 1.093 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006933/0.8731, allocations: 0.5105 MB / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.8732, allocations: 26.52 kB / 1.094 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.8733, allocations: 168.9 kB / 1.094 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.8733, allocations: 10.91 kB / 1.094 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.8734, allocations: 26.2 kB / 1.094 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.87e-05/0.8734, allocations: 345.5 kB / 1.094 GB, free: 328 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.495e-05/0.8735, allocations: 39.16 kB / 1.094 GB, free: 316 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.172e-05/0.8736, allocations: 57.56 kB / 1.094 GB, free: 276 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.8737, allocations: 106.9 kB / 1.095 GB, free: 216 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8738, allocations: 1.125 kB / 1.095 GB, free: 216 kB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002244/0.874, allocations: 146 kB / 1.095 GB, free: 144 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.874, allocations: 5.625 kB / 1.095 GB, free: 144 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.874, allocations: 2.359 kB / 1.095 GB, free: 144 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.874, allocations: 1.625 kB / 1.095 GB, free: 144 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.8741, allocations: 9.938 kB / 1.095 GB, free: 144 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.8742, allocations: 2.562 kB / 1.095 GB, free: 144 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.8743, allocations: 13.88 kB / 1.095 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.8743, allocations: 11.77 kB / 1.095 GB, free: 132 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.0001803/0.8745, allocations: 181.9 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.8746, allocations: 34.55 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004022/0.875, allocations: 185.7 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.875, allocations: 6 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.875, allocations: 5.469 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.875, allocations: 1.984 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.8754, allocations: 309 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.8754, allocations: 1.688 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.8755, allocations: 17.31 kB / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.8756, allocations: 3.109 kB / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.8756, allocations: 1.062 kB / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.8756, allocations: 2.078 kB / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.8756, allocations: 5.281 kB / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.8759, allocations: 193.6 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.876, allocations: 140 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.8761, allocations: 3.781 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.8762, allocations: 8.844 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.8763, allocations: 6.734 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.8763, allocations: 11.11 kB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005535/0.8768, allocations: 392.2 kB / 1.096 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8769, allocations: 3.828 kB / 1.096 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000275/0.8771, allocations: 37.16 kB / 1.096 GB, free: 15.19 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.0005587/0.8777, allocations: 0.7351 MB / 1.097 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.8779, allocations: 82.84 kB / 1.097 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8779, allocations: 0.5938 kB / 1.097 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.076e-05/0.878, allocations: 46.62 kB / 1.097 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.8784, allocations: 64.64 kB / 1.097 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.8828, allocations: 3.177 MB / 1.1 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.8833, allocations: 0.8163 MB / 1.101 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001534/0.8834, allocations: 52.8 kB / 1.101 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.8836, allocations: 81.36 kB / 1.101 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.8836, allocations: 0 / 1.101 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.9144, allocations: 6.645 MB / 1.108 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/8.566, allocations: 13.23 kB / 1.108 GB, free: 11.22 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches