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.009285/0.009285, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.002179/0.002179, allocations: 185.4 kB / 16.67 MB, free: 5.977 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.87/1.87, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.543/2.543, allocations: 390.3 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 60.62 kB / 0.9504 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3824, allocations: 140.4 MB / 1.087 GB, free: 2.168 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.004151/0.3866, allocations: 1.578 MB / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002309/0.3889, allocations: 0.9165 MB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.3891, allocations: 3.938 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.3895, allocations: 67.64 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007988/0.3904, allocations: 147.3 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.436e-05/0.3905, allocations: 11.94 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006345/0.3911, allocations: 378.2 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3912, allocations: 48.73 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003699/0.3916, allocations: 143.3 kB / 1.091 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.3919, allocations: 135.4 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.392, allocations: 12 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.764e-05/0.392, allocations: 16 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.955e-05/0.3921, allocations: 55.7 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.3923, allocations: 131.2 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.3927, allocations: 286.7 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3928, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.286e-06/0.3928, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.3928, allocations: 0 / 1.091 GB, free: 14.25 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.001662/0.3945, allocations: 0.6301 MB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.3945, allocations: 8.031 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001802/0.3947, allocations: 38.67 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.3948, allocations: 32.56 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007233/0.3955, allocations: 386.2 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.3956, allocations: 384 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.3956, allocations: 4.375 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.3958, allocations: 105.2 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3958, allocations: 3.938 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3958, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.3959, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.396, allocations: 67.92 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005756/0.3966, allocations: 360 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.3967, allocations: 102.4 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.953e-05/0.3968, allocations: 59.45 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.3969, allocations: 8 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.3969, allocations: 42.44 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.3969, allocations: 0 / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004009/0.3973, allocations: 177.1 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.3974, allocations: 140.9 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000758/0.3982, allocations: 0.5171 MB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.3982, allocations: 25.7 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.3984, allocations: 160.1 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.3984, allocations: 15.88 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.3985, allocations: 17.62 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.3987, allocations: 350.8 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.857e-05/0.3988, allocations: 31.91 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.821e-05/0.3989, allocations: 67.39 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.399, allocations: 99.3 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.399, allocations: 0 / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002534/0.3993, allocations: 157.1 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.3993, allocations: 4 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.3993, allocations: 0 / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.3994, allocations: 8.031 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.3995, allocations: 15.92 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3995, allocations: 0 / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.3997, allocations: 11.97 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.3997, allocations: 4 kB / 1.095 GB, free: 10.32 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.0001803/0.3999, allocations: 183.8 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.3999, allocations: 35.56 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003522/0.4003, allocations: 183.7 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4003, allocations: 0 / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.4003, allocations: 7.984 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.4003, allocations: 0 / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.4006, allocations: 297.5 kB / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4007, allocations: 4.125 kB / 1.095 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.968e-05/0.4008, allocations: 23.92 kB / 1.095 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4008, allocations: 0 / 1.095 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.4008, allocations: 8 kB / 1.095 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.4008, allocations: 7.938 kB / 1.095 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4008, allocations: 0 / 1.095 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.4011, allocations: 195.2 kB / 1.096 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.4013, allocations: 140.6 kB / 1.096 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.4013, allocations: 0 / 1.096 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.4015, allocations: 11.98 kB / 1.096 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.4015, allocations: 11.98 kB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.4015, allocations: 3.938 kB / 1.096 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004625/0.402, allocations: 395 kB / 1.096 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.8e-07/0.402, allocations: 0 / 1.096 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002659/0.4023, allocations: 44 kB / 1.096 GB, free: 8.684 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.0006747/0.403, allocations: 0.7205 MB / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.4032, allocations: 95.95 kB / 1.097 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4032, allocations: 0 / 1.097 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.106e-05/0.4033, allocations: 39.97 kB / 1.097 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.4037, allocations: 69.95 kB / 1.097 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/0.4081, allocations: 3.173 MB / 1.1 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.4086, allocations: 0.8181 MB / 1.101 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.4088, allocations: 58.19 kB / 1.101 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.4089, allocations: 83.39 kB / 1.101 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of SimCode: time 1.132e-06/0.409, allocations: 0 / 1.101 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.015/1.424, allocations: 6.759 MB / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/15.63, allocations: 20.17 kB / 1.108 GB, free: 12.87 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