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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.00545/0.00545, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001216/0.001216, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.832/2.832, allocations: 469.4 MB / 0.7422 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.84 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2474, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002477/0.2499, allocations: 1.586 MB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.2513, allocations: 0.9073 MB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.635e-05/0.2514, allocations: 3.938 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.2516, allocations: 63.64 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004642/0.2521, allocations: 155.3 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.567e-05/0.2522, allocations: 7.984 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003864/0.2526, allocations: 377.5 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.375e-05/0.2526, allocations: 52.66 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.2529, allocations: 139.4 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.2531, allocations: 139.3 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.2531, allocations: 20 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.998e-05/0.2532, allocations: 19.94 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.897e-05/0.2532, allocations: 51.75 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.2534, allocations: 131.2 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.2537, allocations: 282.8 kB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2537, allocations: 0 / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of FrontEnd: time 5.912e-06/0.2537, allocations: 3.984 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.2537, allocations: 0 / 1.224 GB, free: 10.77 MB / 0.9825 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.001064/0.2548, allocations: 0.6418 MB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2548, allocations: 8.031 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.355e-05/0.2548, allocations: 30.75 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.2549, allocations: 36.7 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/0.2554, allocations: 390.6 kB / 1.225 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.2554, allocations: 4.375 kB / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.2555, allocations: 4.375 kB / 1.225 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.2556, allocations: 105.1 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.2556, allocations: 0 / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.2556, allocations: 0 / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2556, allocations: 4 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.2557, allocations: 67.88 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.2561, allocations: 352.1 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.2562, allocations: 106.4 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.65e-05/0.2563, allocations: 71.45 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.2563, allocations: 3.938 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.2564, allocations: 38.5 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2564, allocations: 0 / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003163/0.2567, allocations: 181.7 kB / 1.225 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.2568, allocations: 136.5 kB / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005677/0.2573, allocations: 0.5171 MB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.2574, allocations: 25.7 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.2575, allocations: 160.1 kB / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.2575, allocations: 15.84 kB / 1.226 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.2576, allocations: 21.7 kB / 1.226 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2577, allocations: 342.8 kB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.502e-05/0.2577, allocations: 35.95 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-05/0.2578, allocations: 71.33 kB / 1.227 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.2579, allocations: 95.36 kB / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.258, allocations: 4 kB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002091/0.2582, allocations: 157.2 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2582, allocations: 4 kB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.2582, allocations: 7.984 kB / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2582, allocations: 0 / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.2583, allocations: 11.94 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2583, allocations: 7.922 kB / 1.227 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.2585, allocations: 11.98 kB / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.2585, allocations: 128 / 1.227 GB, free: 6.824 MB / 0.9825 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.0001344/0.2586, allocations: 181.8 kB / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.2587, allocations: 31.75 kB / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.259, allocations: 187.8 kB / 1.227 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.259, allocations: 4 kB / 1.227 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.259, allocations: 0 / 1.227 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.259, allocations: 4.125 kB / 1.227 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.2593, allocations: 317.3 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2593, allocations: 0 / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.368e-05/0.2594, allocations: 23.86 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.2594, allocations: 0 / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.2594, allocations: 8 kB / 1.228 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2595, allocations: 0 / 1.228 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2595, allocations: 0 / 1.228 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.2597, allocations: 191.4 kB / 1.228 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.2599, allocations: 140.8 kB / 1.228 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.2599, allocations: 4 kB / 1.228 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.2601, allocations: 7.984 kB / 1.228 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.2601, allocations: 11.98 kB / 1.228 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.2601, allocations: 4 kB / 1.228 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004169/0.2605, allocations: 391 kB / 1.228 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2605, allocations: 4 kB / 1.229 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002551/0.2608, allocations: 40 kB / 1.229 GB, free: 5.195 MB / 0.9825 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.0004383/0.2612, allocations: 0.7357 MB / 1.229 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.2614, allocations: 87.86 kB / 1.229 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2614, allocations: 0 / 1.229 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.048e-05/0.2615, allocations: 51.89 kB / 1.229 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.2619, allocations: 65.97 kB / 1.229 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.2654, allocations: 3.19 MB / 1.233 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.2657, allocations: 0.8065 MB / 1.233 GB, free: 80 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001286/0.2658, allocations: 54.25 kB / 1.233 GB, free: 28 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.266, allocations: 83.42 kB / 1.233 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.266, allocations: 0 / 1.233 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.2882, allocations: 6.667 MB / 1.24 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/7.925, allocations: 26.44 kB / 1.24 GB, free: 9.484 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 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.csv","/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) "Warning: Resultfile and Reference have different end time points! Reffile[501]=31536000.000000 File[7]=75686.400000 " Variables in the reference:time,TSoi[1].T,TSoi[2].T,TSoi[3].T,TSoi[4].T Variables in the result:time,TSoi[1].T,TSoi[2].T,TSoi[3].T,TSoi[4].T,TSoi[1].cliCon.TSurAmp