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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.00125, allocations: 109.7 kB / 16.41 MB, free: 6.508 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.001295/0.001295, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.526/2.526, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.91 kB / 1.054 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6867/0.6881, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002716/0.6909, allocations: 1.579 MB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.6923, allocations: 0.919 MB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.163e-05/0.6924, allocations: 4 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.6927, allocations: 59.64 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004876/0.6932, allocations: 139.3 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.625e-05/0.6933, allocations: 19.97 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004485/0.6937, allocations: 374.2 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.025e-05/0.6938, allocations: 48.73 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.6941, allocations: 139.4 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.6943, allocations: 139.3 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.453e-05/0.6944, allocations: 12 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.237e-05/0.6944, allocations: 16 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.347e-05/0.6945, allocations: 55.75 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.6947, allocations: 131.2 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.695, allocations: 284.6 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.695, allocations: 3.984 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.242e-06/0.695, allocations: 0 / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.695, allocations: 0 / 1.212 GB, free: 9.762 MB / 0.9356 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.001076/0.6961, allocations: 0.6263 MB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.6961, allocations: 8.031 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/0.6962, allocations: 28.56 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.6967, allocations: 390.2 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.6967, allocations: 4.375 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.6967, allocations: 384 / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.6969, allocations: 109.3 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.6969, allocations: 0 / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.6969, allocations: 4 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.6969, allocations: 0 / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.422e-05/0.697, allocations: 67.81 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.6974, allocations: 360 kB / 1.214 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.6976, allocations: 114.3 kB / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.402e-05/0.6976, allocations: 63.39 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.6977, allocations: 4 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.6977, allocations: 42.5 kB / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.6977, allocations: 0 / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003305/0.698, allocations: 181.1 kB / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.6981, allocations: 129 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005741/0.6987, allocations: 0.5171 MB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.6987, allocations: 29.7 kB / 1.215 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.6988, allocations: 160.1 kB / 1.215 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.6989, allocations: 19.75 kB / 1.215 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.6989, allocations: 17.7 kB / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.699, allocations: 338.8 kB / 1.215 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.536e-05/0.6991, allocations: 39.95 kB / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.851e-05/0.6992, allocations: 59.34 kB / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.6993, allocations: 99.36 kB / 1.215 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.6993, allocations: 4 kB / 1.215 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002085/0.6995, allocations: 149.1 kB / 1.215 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.6995, allocations: 7.938 kB / 1.215 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6995, allocations: 4 kB / 1.215 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.6996, allocations: 0 / 1.215 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-05/0.6997, allocations: 11.98 kB / 1.215 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.6997, allocations: 0 / 1.215 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.6998, allocations: 19.97 kB / 1.215 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.6998, allocations: 0 / 1.215 GB, free: 5.883 MB / 0.9356 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.0001418/0.7, allocations: 173.8 kB / 1.216 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.7, allocations: 43.67 kB / 1.216 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.7003, allocations: 183.7 kB / 1.216 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.7004, allocations: 4 kB / 1.216 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7004, allocations: 0 / 1.216 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.7005, allocations: 136.6 kB / 1.216 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.7006, allocations: 0 / 1.216 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.7007, allocations: 15.98 kB / 1.216 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.7007, allocations: 19.98 kB / 1.216 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002895/0.701, allocations: 434.6 kB / 1.216 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003441/0.7014, allocations: 0.5393 MB / 1.217 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.474e-05/0.7015, allocations: 39.95 kB / 1.217 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004035/0.7019, allocations: 395 kB / 1.217 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of Backend: time 4.11e-07/0.7019, allocations: 0 / 1.217 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006041/0.7025, allocations: 126.3 kB / 1.217 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001017/0.7035, allocations: 1.036 MB / 1.218 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of Templates: time 0.006451/0.71, allocations: 3.364 MB / 1.222 GB, free: 15.36 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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